[Thread Prev][Thread Next][Thread Index]
Re: What needs patched to fix this ?
- To: pilotmgr@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: What needs patched to fix this ?
- From: "Jaime J. Maiz" <jmaiz@xxxxxxxxxx>
- Date: Mon, 03 Jan 2000 08:58:56 -0600
- Organization: Lucent Technologies
- References: <E124Q1J-000182-00@brian.servis.snet>
- Sender: owner-pilotmgr
Folks,
I know I might be starting a holy war on this issue, but I feel that it must be
said.
There is nothing to accomplish by adding comments like "So the programmer is
sloppy". I feel that we should all be thankful to the people that take time out
of their busy schedules to come up with these tools which allow us to use our
Pilots more efficiently. So the date, showed as 1/1/100, I synched up my Pilot
that night since I was working, and there was nothing wrong other than the
aesthethics of the date. And remember, PilotMgr and all of its derived tools
are FREE!!!! You didn't pay a dime for them, contrary to some other programs
that cost a lot of money and are showing similar date related problems.
So, please take a chill pill, enjoy the wonders of FREE software, and apply the
patch provided by Bharat listed below: I apllied it to my PilotMgr V1.008 and
it solved the problem. Not that I was too worried about it.
For those of you who write these wonderful tools a well deserved thank you from
me and all other people that use your software here in Naperville, IL.
Jaime
> *** 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);
> }
>
Brian Servis wrote:
> *- On 1 Jan, Larry W. Virden wrote about "What needs patched to fix this ?"
> > When I did a PilotManager sync today, I see:
> >
> > 01/01/100 7:39:00 Please press the Hotsync button on your Pilot cradle
> > ^^^
> >
> > I am using version 1.107 of PilotManager
>
> This is a perl issue. I don't speak perl but have seen lots of these
> perl date problems discussed on the net over the last 24hrs. Apparently
> one of the perl date functions returns the date as a diff from 1900. So
> the programmer is sloppy. There were lots of places that would just put
> a text string of '19' and then append the date so places where reporting
> the date as 19100. Sorry I don't know where the problem is in the code.
> Just passing on the info.
>
> Brian Servis
> --
> ------------------------------------------------------------------------
> Mechanical Engineering | Never criticize anybody until you
> Purdue University | have walked a mile in their shoes,
> servis@xxxxxxxxxx | because by that time you will be a
> http://www.ecn.purdue.edu/~servis | mile away and have their shoes.
>
> ------------------------------------------------------------------------
> ***********************************************************
> * This is a public mailing list! *
> * Please do not publish Sun proprietary information here! *
> * - - - - - - - - - - - - - - *
> * http://www.moshpit.org/pilotmgr *
> ***********************************************************
--
Jaime J. Maiz IH 4B-306
mailto:jmaiz@xxxxxxxxxx (630) 979-2088
------------------------------------------------------------------------
***********************************************************
* This is a public mailing list! *
* Please do not publish Sun proprietary information here! *
* - - - - - - - - - - - - - - *
* http://www.moshpit.org/pilotmgr *
***********************************************************