compserv / hknweb

The new HKN website (using Django, hopefully at hkn.eecs.berkeley.edu soon)
https://dev-hkn.eecs.berkeley.edu
MIT License
19 stars 108 forks source link

Add start_time and end_time None check due to time input misformat #534

Open ochan1 opened 1 year ago

ochan1 commented 1 year ago

Formatting of the times become wrong and thus become None

The error message will recommend to use the time picker

Sample error log start_time = '03/11/2023 2:00 PM' end_time = '03/11/2023 4:00PM'

Notice the End Time format is not with the Start Time format standard, and thus is None