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

Can't find a way to change the clock to look more like Windows #57

Closed
MacroHard-Winux opened this issue Oct 16, 2023 · 3 comments
Closed

Comments

@MacroHard-Winux
Copy link

I want it to remove the text and only show the numbers, but can't find option in the config file
image

@jmanc3
Copy link
Owner

jmanc3 commented Oct 17, 2023

Change the string on the following following line:

ss << std::put_time(std::localtime(&in_time_t), "%I:%M %p — %A");

to:
"%I:%M %p"

and change the string in the following line:

month << std::put_time(std::localtime(&in_time_t), "%B, %m");

to:
"%m"

@jmanc3
Copy link
Owner

jmanc3 commented Oct 24, 2023

As of e5b8e52, you can simply set the date style to 'Windows 10' in the settings menu, instead of having to modify the source code.

@jmanc3 jmanc3 closed this as completed Oct 24, 2023
@MacroHard-Winux
Copy link
Author

Nice thx

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