Skip to content
Snippets Groups Projects
Commit 44d463f3 authored by Florian Obersteiner's avatar Florian Obersteiner
Browse files

naive datetime is local time #2

parent f5208db0
No related branches found
No related tags found
1 merge request!6code refactor
......@@ -422,6 +422,8 @@ class Dataset:
:rtype: list
"""
return [
# TODO see commit f5208db0 - this will do unexpected things if
# self.dateOfCollection is a naive datetime object (think DST transitions...)
self.dateOfCollection + datetime.timedelta(seconds=x)
for x in self.independentVariable
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment