summaryrefslogtreecommitdiffstats
path: root/eopayment/systempayv2.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2012-10-05 08:47:59 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2012-10-05 08:47:59 (GMT)
commit5b1ba343eb475fbb50acb784a7af7b5edbeabee7 (patch)
treee751430091f1da09482a197006d9cc1120ba73e7 /eopayment/systempayv2.py
parentb229f91ce12fd65238126120674eaf50fab962e1 (diff)
downloadeopayment-5b1ba343eb475fbb50acb784a7af7b5edbeabee7.zip
eopayment-5b1ba343eb475fbb50acb784a7af7b5edbeabee7.tar.gz
eopayment-5b1ba343eb475fbb50acb784a7af7b5edbeabee7.tar.bz2
systempayv2: the date must be in the UTC zone
Diffstat (limited to 'eopayment/systempayv2.py')
-rw-r--r--eopayment/systempayv2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eopayment/systempayv2.py b/eopayment/systempayv2.py
index c8c8cb0..859e82e 100644
--- a/eopayment/systempayv2.py
+++ b/eopayment/systempayv2.py
@@ -35,7 +35,7 @@ SIGNATURE = 'signature'
VADS_TRANS_ID = 'vads_trans_id'
def isonow():
- return dt.datetime.now() \
+ return dt.datetime.utcnow() \
.isoformat('T') \
.replace('-','') \
.replace('T','') \