Repository: climate Updated Branches: refs/heads/master e8384204c -> c9e602f53
Needed to add two more possible time format for some ESGF datasets Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/a8be700f Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/a8be700f Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/a8be700f Branch: refs/heads/master Commit: a8be700f28e47f92ad4b83986c6398627a30f6f5 Parents: 6ab02d8 Author: Maziyar Boustani <[email protected]> Authored: Wed May 27 10:48:08 2015 -0700 Committer: Maziyar Boustani <[email protected]> Committed: Wed May 27 10:48:08 2015 -0700 ---------------------------------------------------------------------- ocw/utils.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/a8be700f/ocw/utils.py ---------------------------------------------------------------------- diff --git a/ocw/utils.py b/ocw/utils.py index e8a004c..698fe74 100644 --- a/ocw/utils.py +++ b/ocw/utils.py @@ -113,6 +113,7 @@ def parse_time_base(time_format): '%Y/%m/%d%H:%M:%S', '%Y-%m-%d %H:%M', '%Y/%m/%d %H:%M', '%Y:%m:%d %H:%M', '%Y%m%d %H:%M', '%Y-%m-%d', '%Y/%m/%d', '%Y:%m:%d', '%Y%m%d', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H', + '%Y-%m-%dT%H:%M:%S', '%Y-%m-%dT%H:%M:%SZ' ] # Attempt to match the base time string with a possible format parsing string.
