mirror of
https://github.com/EDCD/EDDN.git
synced 2026-10-27 01:16:02 +03:00
Always use UTC for the GatewayTimestamp.
This commit is contained in:
1 parent
960179f073
commit
e8a2e8dc63
1 file changed
+1
-1
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user