systempayv2: the date must be in the UTC zone

This commit is contained in:
Benjamin Dauvergne 2012-10-05 10:47:59 +02:00
parent b011c0c18d
commit 1da33a4d00
1 changed files with 1 additions and 1 deletions

View File

@ -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','') \