[Thread Prev][Thread Next][Thread Index]
Re: [PilotMgr] y2k compliant
- To: Scott Claypool <claypool@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [PilotMgr] y2k compliant
- From: Gregory Gee <gregg@xxxxxxxxxxxxxx>
- Date: Tue, 04 Jan 2000 16:19:29 -0500
- Cc: pilotmgr@xxxxxxxxxxxxxxxxxxxx
- References: <200001041930.LAA03560@scswim98.eng.sun.com>
- Sender: owner-pilotmgr
This has been posted recently.
*** PilotMgr.pm.orig Sat Jan 1 11:39:34 2000
--- PilotMgr.pm Sat Jan 1 11:39:52 2000
***************
*** 2635,2641 ****
$TZ .= ' ' unless $TZ eq '';
$mon++;
! return sprintf("%02d/%02d/%02d %2d:%02d:%02d",
$mon, $mday, $year, $hour, $min, $sec);
}
--- 2635,2642 ----
$TZ .= ' ' unless $TZ eq '';
$mon++;
! $year += 1900;
! return sprintf("%02d/%02d/%04d %2d:%02d:%02d",
$mon, $mday, $year, $hour, $min, $sec);
}
Greg.
------------------------------------------------------------------------
***********************************************************
* This is a public mailing list! *
* Please do not publish Sun proprietary information here! *
* - - - - - - - - - - - - - - *
* MoreInfo/Unsubscribe @ http://www.moshpit.org/pilotmgr *
***********************************************************