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

Fix datetime formatting on windows #29

Closed
wants to merge 1 commit into from

Conversation

asfaltboy
Copy link

Done by replacing %e with %d for windows platform, this is the least complicated method of doing things but will cause
inconsistent behavior across systems.

Anyone has another suggestion? (This is discuessed in issue #23)

… with %d,

this is the least complicated method of doing things but will cause
inconsistent behavior across systems.

Anyone has another suggestion?
@alexandrul
Copy link

+1

Done this for a richard installation under Windows.

To be consistent, you can format the parts individually (using "%d" for the day), then strip the leading 0 for the day number, then reassemble the resulting string. I could live with the leading 0, though.

@jsocol
Copy link
Collaborator

jsocol commented Sep 21, 2015

Going to do a simpler thing. See the last comment on #23.

@jsocol jsocol closed this Sep 21, 2015
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

Successfully merging this pull request may close these issues.

3 participants