Skip to content

Commit

Permalink
Merge pull request EDCD#41 from Marginal/master
Browse files Browse the repository at this point in the history
Make gatewayTimestamp strictly conformant.
  • Loading branch information
jamesremuscat committed Jan 26, 2016
2 parents 81894ae + a925155 commit cb35465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eddn/Gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def parse_and_error_handle(data):
validationResults = validator.validate(parsed_message)

if validationResults.severity <= ValidationSeverity.WARN:
parsed_message['header']['gatewayTimestamp'] = datetime.utcnow().isoformat()
parsed_message['header']['gatewayTimestamp'] = datetime.utcnow().isoformat() + 'Z'

ip_hash_salt = Settings.GATEWAY_IP_KEY_SALT
if ip_hash_salt:
Expand Down

0 comments on commit cb35465

Please sign in to comment.