Fix parsing of struct tm.

Only add an extra day for the current year if it is a leap year and it
is at least March.