Fixes time parsing of noon and midnight

The AM/PM rules flip at these moments, so we need to special case them.