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

time zone bug



Well the code at line 1382 is more explicit...

if (&checkTimeBug)
{
    my ($noteText) = (
        "Congratulations!  Your OS has a bug in the time of day ".
        "code.  This bug causes dates to slowly travel backwards in time ".
        "and interferes with PilotManager's performance.  This bug is ".
        "caused by having a bad timezone environment variable setting. ".
        "Your timezone is set to\n\n\t$ENV{TZ}\n\nYou might try setting ".
        "it to a more specific timezone, for example US/Pacific maps ".
        "to:\n\n\tPST8PDT\n\n" .
        "You'll need to set the correct value for your time zone, of ".
        "course.\n\nPilotManager will not function until this is fixed.".
        "\n(This is NOT a bug in PilotManager!)");
 
    if (!defined $MODE)
    {
        $gHotSyncButton->configure(-state => 'disabled');
        tellUser($noteText);
    }
    else
    {
        print "$noteText\n";
        exit;
    }
}
 
but possibly misleading?

The 'time creep' is a feature of some implementations - how do you
avoid screwing applications royally every time your implement the
time change to DST?  One answer is not to change time instantly 
but to creep slowly forward/backward (i.e. run the clock fast/slow).
This too has sideaffects as we see.  I think the idea is that the
creep should only take a few hours, though - that may be the problem
here.

Cheers,
  Jerry

------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
*             http://www.moshpit.org/pilotmgr             *
***********************************************************


SourceForge.net Logo