-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Timezone format (12/24hr) not used #4
Comments
Hi @ShaneF1 |
After setting TZ using "sudo dpkg-reconfigure tzdata" the local time is displayed in 24hr format. Is there a better way to do it? |
I will have to do a bit of research about this, because I have the exact opposite situation, that is, I have set my time to display in 12hr format, but the ETA is displayed in 24hr format, so something clearly isn't right with with how we are setting the time display format, or with how the plugin finds out what format to use. |
From my reading (I'm a python novice), this might benefit from the addition of ",get_locale()" in line 35 __init_py: strtime = format_time(finish_time,get_locale()) |
Hi @ShaneF1 |
No, that didn't work. It gets tied up in a dependency chain which I don't have the experience to debug. For the moment I have hardcoded my time format. strtime = format_time(finish_time,'HH:mm:ss') |
My ETA time is also shown in 24h format even though I have run the tzdata reconfigure and picked a time zone that should be 12h (USA EDT). Perhaps a setting to toggle between the two formats would give people the control, rather than trying to determine it automatically, especially when a lot of people might never bother setting it correctly. |
Hi everyone. |
V1.0.6
A minor issue but the timezone format is not used when displaying ETA. If the system is configured to use 24hr format, the plug-in still displays 12hr format.
The text was updated successfully, but these errors were encountered: