aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2014-03-23 20:51:24 +0200
committerFilipp Lepalaan <filipp@mac.com>2014-03-23 20:51:24 +0200
commit29be8ee83d7ff862b533bc20e670a1bdc5bc0b4f (patch)
treea96128a267f11738c80af00d456e80a5e4b25231
parent88fba7a73ce08388b6fbc53ec8cc4266404d26ad (diff)
downloadpy-gsxws-29be8ee83d7ff862b533bc20e670a1bdc5bc0b4f.tar.gz
py-gsxws-29be8ee83d7ff862b533bc20e670a1bdc5bc0b4f.tar.bz2
py-gsxws-29be8ee83d7ff862b533bc20e670a1bdc5bc0b4f.zip
Fix AM/PM timestamps
-rw-r--r--gsxws/objectify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/objectify.py b/gsxws/objectify.py
index b37379c..e73adb3 100644
--- a/gsxws/objectify.py
+++ b/gsxws/objectify.py
@@ -85,7 +85,7 @@ def gsx_datetime(value):
def gsx_timestamp(value):
# 03/06/14 09:01 PM
- return datetime.strptime(value, "%m/%d/%y %H:%M %p")
+ return datetime.strptime(value, "%m/%d/%y %I:%M %p")
class GsxElement(objectify.ObjectifiedElement):