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
In https://github.com/ranaroussi/pystore/blob/main/pystore/utils.py#L104, the strftime format string is using %I for the minutes instead of %M. It should be
metadata["_updated"] = now.strftime("%Y-%m-%d %H:%M:%S.%f")
instead of
metadata["_updated"] = now.strftime("%Y-%m-%d %H:%I:%S.%f")
Moreover, to avoid issues with different timezones, it could be more robust to use now = datetime.utcnow() in https://github.com/ranaroussi/pystore/blob/main/pystore/utils.py#L103
now = datetime.utcnow()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In https://github.com/ranaroussi/pystore/blob/main/pystore/utils.py#L104, the strftime format string is using %I for the minutes instead of %M. It should be
instead of
Moreover, to avoid issues with different timezones, it could be more robust to use
now = datetime.utcnow()
in https://github.com/ranaroussi/pystore/blob/main/pystore/utils.py#L103The text was updated successfully, but these errors were encountered: