-
Notifications
You must be signed in to change notification settings - Fork 560
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
timelocal(localtime(0)) != 0 #716
Labels
Comments
From kki@wakusei.ne.jpHello, I'm Keiki SATOH in Japan. This is sample. $ perl -e 'use Time::Local; print timelocal(localtime(0)) . "\n";' This is my patch. Inline Patch--- Local.pm.orig Wed Aug 4 03:09:28 1999
+++ Local.pm Fri Oct 15 00:41:54 1999
@@ -68,7 +68,7 @@
if ($t < $DAY and ($lt[5] >= 70 or $gt[5] >= 70 )) {
# Wrap error, too early a date
# Try a safer date
- $tt = $DAY;
+ $tt += $DAY;
@lt = localtime($tt);
@gt = gmtime($tt);
}
------------------------ Perl Info
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Migrated from rt.perl.org#1618 (status was 'resolved')
Searchable as RT1618$
The text was updated successfully, but these errors were encountered: