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

naive datetime is local time

parent c16db987
No related branches found
No related tags found
1 merge request!6code refactor
......@@ -894,6 +894,9 @@ class Dataset:
self.PIAffiliation = "Musterinstitut"
self.dataSourceDescription = "Musterdatenprodukt"
self.missionName = "MUSTEREX"
# TODO: not 100% sure if this is relevant here, but those dates should refer to UTC
# - if you leave the datetime objects naive (no tzinfo set), they represent local time.
self.dateOfCollection = datetime.datetime.today()
self.dateOfRevision = datetime.datetime.today()
self.dataIntervalCode = [0.0]
......
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