We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
date_format returns zeros for %H, %M and %S
%H
%M
%S
>>> from datetime import datetime >>> import time >>> from mizani import date_format >>> fmt = "%Y-%m-%d %H:%M:%S" >>> ts = datetime(2017,12,1,16,5,7) >>> ts.strftime(fmt) '2017-12-01 16:05:07' >>> date_format(fmt)([ts]) ['2017-12-01 00:00:00']
I looked to see if there was a different formatter for datetimes instead of just dates, but I couldn't find one.
The text was updated successfully, but these errors were encountered:
cc988e4
Fix released in v0.4.3.
Sorry, something went wrong.
Wow, that was fast!
No branches or pull requests
date_format returns zeros for
%H
,%M
and%S
I looked to see if there was a different formatter for datetimes instead of just dates, but I couldn't find one.
The text was updated successfully, but these errors were encountered: