-
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
perl 5.005_03 i686-linux-thread localtime() is not Y2K clean #848
Comments
From root@atrium.cardima.comIt appears that localtime() is not properly Y2K clean. In a ticket submission tool: $submitdate{$ticket} = time; Later, in a ticket database browser: $submitdate = $dblist{'submitdate'}->{$ticket}; The resulting formatted date: 17:32 Fri Nov 12, 0099 Workaround: Add 1900 to the year field. Perl Info
|
From [Unknown Contact. See original ticket]Phil Stracchino <root@atrium.cardima.com> writes:
Not a bug. Read: perldoc -f localtime for details. You also might want to check strftime in the POSIX Chip -- |
From @tamiasOn Fri, Nov 12, 1999 at 06:15:28PM -0800, Phil Stracchino wrote:
It appears that you need to RTFM. Specifically the part of the FM for Ronald |
From @mjdominusOn Fri, Nov 12, 1999 at 06:15:28PM -0800, Phil Stracchino wrote:
I am going to count the bogus error reports submitted to P5P during `The month is off by one!' `The year is wrong!' `It has a y2k problem!' `It says that 2000 is a leap year, but century years are exempt!' If you would like to try to guess how many of these reports are http://www.plover.com/~mjd/perl/y2k/y2k.cgi I will announce the winner in January 2001. Registration will close at the end of 1999. |
From @RandalSchwartz
Mark-Jason> I will announce the winner in January 2001. Shouldn't that be 19101? :-) -- |
Migrated from rt.perl.org#1776 (status was 'resolved')
Searchable as RT1776$
The text was updated successfully, but these errors were encountered: