Accept A.M. and P.M. in addition to AM and PM

This is related to #768.

@timrwood I'm not too happy that a change in the parsing regexp is needed. Also I'm not sure how useful it is. There are also requests for localizing this, so I'd personally vote no-merge :)