Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set 'Updated time' to 24hrs clock? #13

Open
moccon opened this issue Jun 12, 2018 · 1 comment
Open

How to set 'Updated time' to 24hrs clock? #13

moccon opened this issue Jun 12, 2018 · 1 comment

Comments

@moccon
Copy link

moccon commented Jun 12, 2018

I don't like using AM and PM, my Macbook is displaying 24hrs and its faster to see if it matches.

It regularly falls behind so i need to check it fast.

@n0rbertg
Copy link

Hi,

I just installed this and had the same issue. I guess the time format should be displayed as it's set in the os regional setting but I am not a developer :) Not a pretty solution, but works. Open the nightscout_osx_menubar.py as described in the readme and make a small change.

Line 88:
Original (am/pm)
"Updated %s" % datetime.now().strftime("%a %-I:%M %p"),

Updated (24H)
"Updated %s" % datetime.now().strftime("%a %-H:%M"),

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

No branches or pull requests

2 participants