From 29be8ee83d7ff862b533bc20e670a1bdc5bc0b4f Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sun, 23 Mar 2014 20:51:24 +0200 Subject: Fix AM/PM timestamps --- gsxws/objectify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3