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

[cobalt-users] Y2K bug with perl



> Y2k Japan. So far so good. Linux loaded. Windows loaded. Email
downloaded..
> now checking systems. Remote RaQ2 OK so far. Netstat OK .. ps aux ok..
date
> ok.


Just found a bug.. probably many people already had a handle on it.. but
just in case.. if you use perl "localtime(time)"
the year value will return 100.

I had expected to get 00 and had implemented fixes for 00 but all my fixes
failed because I got 100..  anyway.. only a few minor problems with that..
but if you use it (I think good programmers actually suggest you DONT.. but
anyway.. I am self taught :P) anyway.. if you use localtime fix it!

Douglas MacDougall
GNA.
Japan