Commit e9e551b5 by Sai Komuravelli

time conditions modified

parent 2926f38b
Showing with 1 additions and 1 deletions
...@@ -56,7 +56,7 @@ def validate_available_date(date_text): ...@@ -56,7 +56,7 @@ def validate_available_date(date_text):
print("passed weekday condition") print("passed weekday condition")
if dateCheck not in HolidaysList: if dateCheck not in HolidaysList:
print("passed non holidays day condition") print("passed non holidays day condition")
if int(timeCheck) >=9 and int(timeCheck) < 17: if int(timeCheck) >=10 and int(timeCheck) < 18:
print("passed working hours condition") print("passed working hours condition")
return True return True
return False return False
......
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