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

Is there a way to change the time format of please, to 24 hours instead of 12? #20

Closed
AgentCasey opened this issue Jun 22, 2022 · 6 comments

Comments

@AgentCasey
Copy link

I prefer seeing my time in the 24 hour format I've customized my time and date format in the .bashrc script however, please displays time in the 12 hour AM, PM style. I suspect the answer may be located in please.py but I'm not sure how to go about customizing the settings. I know it's not really an issue, but if anyone knows how I could do what I want, I'd be very happy and grateful. Thanks.

@AgentCasey
Copy link
Author

Never mind, I think I may have found a temporary fix for displaying 24 hour time format. On line 196:83 of ~/.local/lib/python3.X.X/site-packages/please/please.py, I've made a backup copy of please.py and edited the file and I've changed %I to %H I'll find out if I'm correct in under four minutes.

@AgentCasey
Copy link
Author

AgentCasey commented Jun 22, 2022

Sweet, mission accomplished. Thanks, all.

@NayamAmarshe
Copy link
Owner

#9

Gonna work on releasing the new update in the next few days.

@NayamAmarshe
Copy link
Owner

v0.2 will include this feature: c612919

@AgentCasey
Copy link
Author

Thank you NayamAmarshe, I appreciate that and thanks for the creative software.

@NayamAmarshe
Copy link
Owner

v0.2 is out :)

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