better fix for month parser issue

As discussed in #1006. Tested in some normal and problem time zones.