-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
t/date-parse.t started to fail in 2020 #14
Comments
This is remarkably similar to #12, where a bug in I'm going to need to ponder if I even really need this test and, if so, how best to fix it. Thx as always for the prompt report. (And, remember: it's not a bug in the module, just the test.) |
Unfortunately timelocal/timegm are not the inverse functions to localtime/gmtime. You have to add 1970 to the year part returned by localtime/gmtime. |
Indeed. I just found (or perhaps refound) this article, which explains it pretty well. I'm not entirely sure I need to keep this test anyway, but I think I'll fix it as an exercise. I want to do one other feature add while I'm in there, but hopefully I'll have something in the next day or so. And perhaps I can squeeze a blog post out of it as well. :-) |
(Sorry for the delay; my laptop completely melted down on Wednesday and I'm just now back to a semblance of normality.) Okay, fix is uploaded as 0.09_01; we'll see what CPAN Testers has to say. Working on the blog post now. :-) |
Okay, 0.10 is available on CPAN now. This issue should be resolved. |
See subject. Excerpt of test log:
http://matrix.cpantesters.org/?dist=Date-Easy%200.09;reports=1#sl=7,1 also shows that reports generated since 2020-01-01 are fail reports.
The text was updated successfully, but these errors were encountered: