Skip to content

Conversation

@mruss77
Copy link
Contributor

@mruss77 mruss77 commented Nov 11, 2021

This makes the status bar display time in the correct format per the "Time format" setting.

New function is added to DateTime called FormattedTime returns a string with the correct time format, so the caller doesn't need to check the settings directly.

I had to remove one unused include from Settings.h to avoid circular include problems.

This is a scaled-back version of #786 (per @Riksu9000 's suggestion) to fix the time display while thinking about how to handle other changes to the status bar.

@Itai-Nelken Itai-Nelken mentioned this pull request Dec 1, 2021
@Itai-Nelken
Copy link
Contributor

Works nicely. This is a great improvement.

@Riksu9000 Riksu9000 linked an issue Jan 12, 2022 that may be closed by this pull request
1 task
@JF002 JF002 merged commit 87d882b into InfiniTimeOrg:develop Feb 13, 2022
@JF002 JF002 added this to the 1.9.0 milestone Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Status bar shows wrong time format

4 participants