Inside: SereneScreen Fan Forum

Inside: SereneScreen Fan Forum (https://www.feldoncentral.com/forums/index.php)
-   Marine Aquarium 3 for Windows (https://www.feldoncentral.com/forums/forumdisplay.php?f=46)
-   -   [Bug: Unconfirmed] Millennium bug in clock (https://www.feldoncentral.com/forums/showthread.php?t=4762)

Ralph 02-09-2009 09:38 PM

Millennium bug in clock
 
1 Attachment(s)
NOT wanting to digress from moving ahead to clams...:nag: but there may be a millennium bug in Jim's clock code. Setting the year back... 1999 or previous garbles up the year shown on the crystal...

Jim Sachs 02-09-2009 10:25 PM

Now, see why it's only in the BetaBeta, and not the ReleaseBeta? Good catch.

Edit: OK, I fixed it so that the third digit will display properly. The first two digits are hard-coded to be "20", though, so it can't do 1999.

Cobra 02-10-2009 02:51 AM

Oh no! What about all the people running the aquarium in a Windows emulator in the year 3000? ;)

By the way. I just woke up from a really strange dream. Jim visited me but i really dont know why. Must have been some kind of vacation. :eek::loco:

jleslie 02-10-2009 08:16 AM

BTW is the date internationalised or does everyone get the non-US version, which would work for me (9 Feb not Feb 9)?

feldon34 02-10-2009 09:28 AM

Quote:

Originally Posted by Jim Sachs (Post 110724)
Now, see why it's only in the BetaBeta, and not the ReleaseBeta? Good catch.

Edit: OK, I fixed it so that the third digit will display properly. The first two digits are hard-coded to be "20", though, so it can't do 1999.

You might be painting yourself into a corner if you are displaying "20" instead of reading the year. Are you reading the day-of-the-week using locale?

patscarr 02-10-2009 11:08 AM

Can it do 21?

Jim Sachs 02-10-2009 11:28 AM

Nope. I'll have to do an update when I'm 151.

henemly 02-10-2009 05:07 PM

LoL, Just thought: the new "MA8" by J. Sachs VII

Jim Sachs 02-10-2009 05:14 PM

I only have one offspring, and she has no interest in computers.

theOLDone 02-10-2009 06:27 PM

Thanks for the clock:)

Ralph 02-10-2009 07:28 PM

I see with this version the millennium bug has changed... the "20" stays while the last 2 digits are correct. You might loose some of the Amish customers that like to see 1899:D

Jim Sachs 02-10-2009 08:12 PM

To much programming to hook up those two digits. They will always be "20" for the rest of my lifetime, and many years beyond.


All times are GMT -6. The time now is 08:51 AM.

Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.