Commit e27274c0 by Rajeev Uppala

date validation changed

parent 8d65b219
......@@ -62,7 +62,7 @@ def validate_available_date(date_text):
def validate_date(date_text):
try:
datetime.strptime(date_text, '%m/%d/%Y %I:%M %p')
datetime.strptime(date_text, '%m/%d/%y %I:%M %p')
return True
except ValueError:
return False
......
No preview for this file type
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment