Subject changed from Time.parse incorrectly parses 31st days of month in Russian to Time.parse incorrectly parses Russian months
When parsing dates in Russian where day number is 31, Time.parse returns 2016-05-01. No matter what month or year is provided. With other dates, it returns date with given day number, but current month and year.
31 march 2016:
I assume Time.parse is not localized to all world languages.
So, it just ignores the "unidentified" part, replacing it with "current month" (and then fixes non-existent 31.04 into 1.05):
I assume Time.parse is not localized to all world languages.
So, it just ignores the "unidentified" part, replacing it with "current month" (and then fixes non-existent 31.04 into 1.05):
I assume Time.parse is not localized to all world languages.
So, it just ignores the "unidentified" part, replacing it with "current month" (and then fixes non-existent 31.04 into 1.05):