Repository: climate Updated Branches: refs/heads/master 74cacfdf6 -> c8d6cb3a3
CLIMATE-438 adding new supported time format to current list. Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/5313dd7d Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/5313dd7d Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/5313dd7d Branch: refs/heads/master Commit: 5313dd7d28c05ad5a7622b85e7e4bff775f112c5 Parents: 74cacfd Author: Maziyar Boustani <[email protected]> Authored: Tue May 20 15:54:07 2014 -0700 Committer: Maziyar Boustani <[email protected]> Committed: Tue May 20 15:54:07 2014 -0700 ---------------------------------------------------------------------- ocw/data_source/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/5313dd7d/ocw/data_source/local.py ---------------------------------------------------------------------- diff --git a/ocw/data_source/local.py b/ocw/data_source/local.py index 651bd11..2dc95a5 100644 --- a/ocw/data_source/local.py +++ b/ocw/data_source/local.py @@ -46,7 +46,7 @@ def _get_time_base(time_format, since_index): '%Y:%m:%d %H:%M:%S', '%Y-%m-%d %H-%M-%S', '%Y/%m/%d %H/%M/%S','%Y-%m-%d %H:%M:%S', '%Y/%m/%d %H:%M:%S', '%Y%m%d %H:%M:%S', '%Y%m%d%H%M%S', '%Y-%m-%d-%H-%M-%S', '%Y/%m/%d/%H/%M/%S', '%Y:%m:%d:%H:%M:%S', '%Y-%m-%d-%H:%M:%S', '%Y-%m-%d %H:%M:%S', '%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', '%Y/%m/%d', '%Y:%m:%d', '%Y%m%d', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H' ] count = 0 for time_format in TIME_FORMATS:
