[Thread Prev][Thread Next][Thread Index]

Re: [PilotMgr] y2k compliant



  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 *
***********************************************************


SourceForge.net Logo