clocking.py, from line 43, shows the valid formats.
Basically, year-month-day or day-month-year (with various separators) are allowed, but not month-day-year.
That's the "why it errors"; and the "how to make it work" fix is to change the date format you use.
Whether month-day-year should be allowed is up to other people -- but allowing it would probably make 6/7/08 ambiguous. Maybe the input system could ask for month here, day there, and year somewhere else, and then munge that into the canonical format before passing it back to "clocking". Or maybe that's too much work, and people should learn to just use specific formats for date entry.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
clocking.py, from line 43, shows the valid formats.
Basically, year-month-day or day-month-year (with various separators) are allowed, but not month-day-year.
That's the "why it errors"; and the "how to make it work" fix is to change the date format you use.
Whether month-day-year should be allowed is up to other people -- but allowing it would probably make 6/7/08 ambiguous. Maybe the input system could ask for month here, day there, and year somewhere else, and then munge that into the canonical format before passing it back to "clocking". Or maybe that's too much work, and people should learn to just use specific formats for date entry.