Always use UTC for the GatewayTimestamp.

This commit is contained in:
James Muscat committed 2015-01-12 13:15:20 +00:00
1 parent 960179f073
commit e8a2e8dc63
1 file changed
+1 -1
+1 -1
View File
@@ -120,7 +120,7 @@ def parse_and_error_handle(data):
if validationResults.severity <= ValidationSeverity.WARN:
parsed_message['header']['gatewayTimestamp'] = datetime.now().isoformat()
parsed_message['header']['gatewayTimestamp'] = datetime.utcnow().isoformat()
ip_hash_salt = Settings.GATEWAY_IP_KEY_SALT
if ip_hash_salt: