Skip to content

test error Invalid day of month (day = 29 - month = 2 - year = 1969) when installing #3

@kizashi1122

Description

@kizashi1122

Today is Mar 8th (in Japan).

Sun Mon Tue Wed Thu Fri Sat
28 29 1 2 3 4 5
6 7 8 9 10 11 12

01-basic.t

    # ... but in 1969:
    $dt = DateTimeX::Easy->new("last monday", year => 1969);
    ok($dt);

got the following error.

Invalid day of month (day = 29 - month = 2 - year = 1969)

I mean this error always happens in this week.
I think this error would happen in 2044 (Feb 29th is Monday).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions