Phat0101 / Roster

https://class-connect-wrv3.vercel.app
0 stars 0 forks source link

the generate script should check and abort if the dates being read don't make sense #8

Closed alfski closed 3 months ago

alfski commented 4 months ago

Put some dodgy dates in the control files.. what does the script do?

eg. 00/00/2024 40/40/2024 01012000 i_AM_NOT_A_DATE

Any string or date that i doesn't parse as a valid date should cause the script to abort with a useful error message. Not be silently ignored!