Bug ID | 1172834 |
---|---|
Summary | perl-DateTime-Format-DateParse fails in t/date.t due to str2time() in perl-TimeDate |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.2 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | pmonrealgonzalez@suse.com |
Reporter | mlin@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
perl-DateTime-Format-DateParse[1] fails to pass t/date.t [ 45s] t/02_date.t ..... ok [ 45s] [ 45s] # Failed test '1995-01-24 0 0' [ 45s] # at t/03_getdate.t line 186. [ 45s] # got: '3895-01-24T00:00:00' [ 45s] # expected: '1995-01-24T00:00:00' [ 45s] [ 45s] # Failed test '1995-06-24 0 0' [ 45s] # at t/03_getdate.t line 186. [ 45s] # got: '3895-06-24T00:00:00' [ 45s] # expected: '1995-06-24T00:00:00' [ 45s] [ 45s] # Failed test '1995-01-24 GMT 0 0' [ 45s] # at t/03_getdate.t line 186. [ 45s] # got: '3895-01-24T00:00:00' [ 45s] # expected: '1995-01-24T00:00:00' [ 45s] [ 45s] # Failed test '1995-01-24 BST 0 0' [ 45s] # at t/03_getdate.t line 186. [ 45s] # got: '3895-01-24T00:00:00' [ 45s] # expected: '1995-01-24T00:00:00' --- snap --- the problem is in Date:Parse str2time() from perl-TimeDate, I've dig into it and found https://github.com/atoomic/perl-TimeDate/commit/d7450983cbc7ea9d54662c9a181824d3e8bcfbf3 [RT#84075] fixed this issue, could we have this patch be added to perl-TimeDate in SLE side? I did verification build at https://build.opensuse.org/project/show/home:mlin7442:rebuild_152 , perl-DateTime-Format-DateParse build succeed[2] with patched perl-TimeDate[3]. [1] https://build.opensuse.org/package/live_build_log/openSUSE:Leap:15.2/perl-DateTime-Format-DateParse/standard/x86_64 [2] https://build.opensuse.org/package/show/home:mlin7442:rebuild_152/perl-DateTime-Format-DateParse [3] https://build.opensuse.org/package/view_file/home:mlin7442:rebuild_152/perl-TimeDate/TimeDate-strptime-Parse-out-century-if-specified.patch?expand=1