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

tsdb.format() handles datetime.datetime well but not datetime.date #291

Closed
goodmami opened this issue May 28, 2020 · 0 comments
Closed

tsdb.format() handles datetime.datetime well but not datetime.date #291

goodmami opened this issue May 28, 2020 · 0 comments
Milestone

Comments

@goodmami
Copy link
Member

The tsdb.format() function, called when writing a TSDB database, will convert datetime.datetime objects into the TSDB-standard format (i.e., DD-MM-YYYY) but not datetime.date objects. The current situation isn't terrible, as it will just cast them to a string, which is YYYY-MM-DD and the tsdb module can read those in just fine, but it could be better.

@goodmami goodmami added this to the v1.3.0 milestone Jul 1, 2020
goodmami added a commit that referenced this issue Jul 1, 2020
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