[BUG?]Date today -> March 1, 2000?

John Clonts jclonts at mastnet.net
Sun Mar 12 18:12:29 UTC 2000


Yes, the problem is in a VM routine.  Unless you want to recompile your
own vm, you can change 

Time class>>dateAndTimeNow
   secondCount := self totalSeconds.
   ...
and
Time class>>totalSeconds
   ^self primSecondsClock + 86400. "F29 workaround"


Cheers,
John

Peter Novak wrote:
> 
> Hello all,
> did someone fix this problem??? We have it too on our internal swiki server
> (it runs on Win NT Workstation). How did you solve this?
> It seems that it's problem between Squeak & Wins... mhhhmmm...
> 
> Thanx a lot for advice.
> 
> Peter.
> 
> -----Original Message-----
> From: Bernhard Pieber <pieber at acm.org>
> To: squeak at cs.uiuc.edu <squeak at cs.uiuc.edu>
> Date: 3. marec 2000 13:12
> Subject: Re: [BUG?]Date today -> March 1, 2000?
> 
> >I just encountered the same problem on Windows 98. I tried it on several
> >Squeak versions and consistently get the wrong result. I am located in
> >Vienna, Austria and am using a german version of Windows 98.
> >
> >Bernhard
> >----- Original Message -----
> >From: Lex Spoon <lex at cc.gatech.edu>
> >To: <squeak at cs.uiuc.edu>
> >Cc: <squeak at cs.uiuc.edu>
> >Sent: Friday, March 03, 2000 2:20 AM
> >Subject: Re: [BUG?]Date today -> March 1, 2000?
> >
> >
> >> "James W. Howe" <jwh at allencreek.com> wrote:
> >> > At 12:31 PM 3/2/00 +0000, you wrote:
> >> > >John Clonts <jclonts at mastnet.net> wrote:
> >> > > > I'm on win' 95, using 2.8alpha to 1899
> >> > > >
> >> > > > Is it just me?
> >> > > >
> >> > >
> >> > >Works okay for me.  Maybe it's a timezone problem.
> >> >
> >> >
> >> > I'm running a 2.7 image in the Eastern time zone and when I evaluate
> >'Date
> >> > today' it tells me it's March 1, 2000.  My computer clock, however,
> >tells
> >> > me it's the 2nd.  If I do a "dateAndTimeNow", it gives me the correct
> >time,
> >> > just the wrong date.
> >> >
> >>
> >> Okay, next guess is that it's the VM and/or the OS.  I'm on Linux.  It
> >> says March 3 now, but that's because I'm up way too late reading the
> >> Squeak ML and its a new day.  :)
> >>
> >>
> >> Lex
> >>





More information about the Squeak-dev mailing list