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

Make sure a text rendering of a facts timeinfo is consistent. #211

Open
elbenfreund opened this issue Aug 16, 2016 · 1 comment
Open

Make sure a text rendering of a facts timeinfo is consistent. #211

elbenfreund opened this issue Aug 16, 2016 · 1 comment

Comments

@elbenfreund
Copy link
Collaborator

Fact.__str__ uses a %d-%m-%Y %H:%M datetime format. Parsing a raw fact however expects
%Y-%m-%d %H:%M. Whilst those formats do not strictly need to be identical it seems highly advisable to avoid confusion and mistakes.

@elbenfreund
Copy link
Collaborator Author

For now we should lettle for the ISO representation. If there is ever a clear preference by the community this may be changed later on. Or we may add a separate config flag alltogether..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant