Fixed the date format in the error message
Change-Id: I544f406e28b237c293d1b6a23a48785f39146cac
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user