woofyman99/phocoa — comment on commit 24a61b78bd6783e7880ee2da53b2181c576de7a2
File:  line 0
By apinstein:

Not your bug, but we never trim() the input, so if you entered " " the time would still report the error the "old" way.

Also, note that there are already $datePartEntered and $timePartEntered vars. Probably want to roll the trim into those and just re-use that info.