Fixed the date format in the error message

Change-Id: I544f406e28b237c293d1b6a23a48785f39146cac
This commit is contained in:
amitgandhinz
2016-05-12 11:40:06 -04:00
parent 84b5128ffb
commit 0a0915cac5

View File

@@ -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'