Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

promlem with parsing february 29 in leap year #730

Open
MikhailMalyutin opened this issue Jan 10, 2020 · 2 comments
Open

promlem with parsing february 29 in leap year #730

MikhailMalyutin opened this issue Jan 10, 2020 · 2 comments

Comments

@MikhailMalyutin
Copy link
Contributor

Next tests failed:

shared void testParseDateTimeLeapYear() {
    value result = parseDateTime("2020-02-29T12:00:00");
    assert(exists result);
}

shared void testParseDateLeapYear() {
    value result = parseDate("2020-02-29");
    assert(exists result);
}

Now parseDate and parseDateTime can't parse 29 february in leap year

@jvasileff
Copy link
Contributor

This might have been fixed already, see 26ba16f

@luolong
Copy link
Contributor

luolong commented Jan 30, 2020

Yeah ... I seem to vaguely remember doing this, but it was soo long ago...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants