Commit 96e1ec73 authored by Julien Michel's avatar Julien Michel
Browse files

Small error in date parsing

parent 62c9f538
......@@ -32,10 +32,10 @@ class Ecostress():
end_date = str(ds['StandardMetadata/RangeEndingDate'][()])
end_time = str(ds['StandardMetadata/RangeEndingTime'][()])
self.start_time = dateutil.parser.parse(start_date[1:-2] + "T" +
self.start_time = dateutil.parser.parse(start_date[1:-1] + "T" +
start_time[1:-2])
self.end_time = dateutil.parser.parse(end_date[1:-2] + "T" +
self.end_time = dateutil.parser.parse(end_date[1:-1] + "T" +
end_time[1:-2])
# Parse bounds
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment