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
Branches
Tags
1 merge request!6code refactor
This commit is part of merge request !6. Comments created here will be created in the context of that merge request.
......@@ -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.
Please register or to comment