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

using the TIME format #8

Closed
ichigo10 opened this issue Sep 16, 2015 · 4 comments
Closed

using the TIME format #8

ichigo10 opened this issue Sep 16, 2015 · 4 comments

Comments

@ichigo10
Copy link

When i use the TIME in custom formats the time shows up a 24 hrs with am and pm at the end even though i set it to 12 hrs in tclock and on my system.

@White-Tiger
Copy link
Owner

make sure you've got the "12h" option checked. This option is "still" in use even when using the custom format.

@ichigo10
Copy link
Author

The 12h option is checked and when i mean TIME i type in "TIME" and it gives the in 24h with am/pm.

@White-Tiger
Copy link
Owner

you're right... that is because T-Clock forces the 24h format.. not sure why it does that but I'll try to figure out what happens if we don't enforce it.
The code looked like:

GetTimeFormat(MAKELANGID(LANG_NEUTRAL,SUBLANG_DEFAULT),
              TIME_FORCE24HOURFORMAT, pt, NULL, s, 80);

Would be nice if anyone knows whether removing TIME_FORCE24HOURFORMAT allows it to be 24h or 12h (depending on locale), or bugs people wanting the 24h format..

White-Tiger added a commit that referenced this issue Sep 16, 2015
TIME format was set to forced 24h which isn't right here. should fix issue #8
@White-Tiger
Copy link
Owner

solved in latest pre-release

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