Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Fixed the date format in the error message
Browse files Browse the repository at this point in the history
Change-Id: I544f406e28b237c293d1b6a23a48785f39146cac
  • Loading branch information
amitgandhinz committed May 12, 2016
1 parent 84b5128 commit 0a0915c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poppy/transport/validators/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def is_valid_analytics_request(request):
raise exceptions.ValidationFailed('startTime or endTime is not in '
'valid format. details: %s.'
'Valid time stamp format is: '
'YY-MM-DDTHH:MM:SS' % str(e))
'YYYY-mm-ddTHH:MM:SS' % str(e))
else:
if start_time > end_time:
raise exceptions.ValidationFailed('startTime cannot be later than'
Expand Down

0 comments on commit 0a0915c

Please sign in to comment.