Skip to content

t/str2time-bug.t may fail in some timezones #15

@eserte

Description

@eserte

See subject. It does not seem to fail with TZ=UTC or TZ=Europe/Berlin, but TZ=Asia/Shanghai looks problematic:

$ env TZ=Asia/Shanghai perl5.28.2 -S prove -l t/str2time-bug.t 
t/str2time-bug.t .. 1/? 
#   Failed test 'survived Date::Parse bug for year 1901'
#   at t/str2time-bug.t line 44.
#          got: '1900'
#     expected: '1901'
# Looks like you failed 1 test of 1900.
t/str2time-bug.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1900 subtests 

There should be also some fail reports @ cpan testers.

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