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

%m -> %M for minute #1500

Closed
schwehr opened this issue Oct 8, 2020 · 1 comment
Closed

%m -> %M for minute #1500

schwehr opened this issue Oct 8, 2020 · 1 comment

Comments

@schwehr
Copy link

schwehr commented Oct 8, 2020

https://github.com/apache/libcloud/blob/trunk/libcloud/dns/base.py#L496

date = datetime.datetime.now().strftime('%Y-%m-%d %H:%m:%S')

should probably be

date = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')

https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes

@asfgit asfgit closed this as completed in 021c144 Oct 11, 2020
@Kami
Copy link
Member

Kami commented Oct 11, 2020

Thanks for the report. Fixed in 021c144.

d-mo pushed a commit to mistio/libcloud that referenced this issue Nov 15, 2021
d-mo pushed a commit to mistio/libcloud that referenced this issue Nov 19, 2021
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