climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boust...@apache.org
Subject [1/2] git commit: CLIMATE-438 adding new supported time format to current list.
Date Tue, 20 May 2014 23:00:54 GMT
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 <maziyar_b4@yahoo.com>
Authored: Tue May 20 15:54:07 2014 -0700
Committer: Maziyar Boustani <maziyar_b4@yahoo.com>
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:


Mime
View raw message