Force locale when parsing MW dates to avoid parsing errors.

Also a bit of cleanup.
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7622090

Change-Id: I948df4a6e7fa36c2a3eec4b8d4e5b5a9dea41960