This is proper behavior, since according to the man page it's "years since
1900" so proper behavior for programs to get the 2 digit year would be
$twodigit = subst(1900+%y, 2, -2); ** I think :)
maybe even subst(%Y, 2, -2);
On Tue, 4 Jan 2000, Ben-Nes Michael wrote:
> Date: Tue, 04 Jan 2000 10:32:47 +0200
> From: Ben-Nes Michael <[EMAIL PROTECTED]>
> To: radius <[EMAIL PROTECTED]>
> Subject: Re: (RADIATOR) Y2K: %y results in single '0'
>
> Hi All
>
> its probobly timelocal()
>
> try:
> ($sec,$min,$hour,$mday,$month,$year) = localtime(time);
> print $year."\n";
>
> you get: 100!
>
> Mike McCauley wrote:
>
> > Hi Thomas,
> >
> > Thanks for reporting that. We have fixed it and posted a fixed version of
> > radiusd to the patches area. It also affected %e.
> >
> > Thanks again, and apologies for the inconvenience.
> > Cheers.
> >
> > On Jan 3, 8:26am, Thomas Voss wrote:
> > > Subject: (RADIATOR) Y2K: %y results in single '0'
> > > Hello Mike,
> > >
> > > there is a problem with the '%y'-parameter:
> > > Instead of "Last 2 digits of the current year (2 digits)" the %y now
> > > results in a single '0' (one digit)!.
> > >
> > > We got a lot of trouble because we use the parameter to construct
> > > tablenames (although there's nothing that we aren't able to repair).
> > >
> > > Happy new year to australia,
> > >
> > > Thomas.
> > >
> > >
> > >
> > >
> > >
> > >
> > > ===
> > > Archive at http://www.thesite.com.au/~radiator/
> > > To unsubscribe, email '[EMAIL PROTECTED]' with
> > > 'unsubscribe radiator' in the body of the message.
> > >-- End of excerpt from Thomas Voss
> >
> > --
> > Mike McCauley [EMAIL PROTECTED]
> > Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW
> > 24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au
> > Phone +61 3 9598-0985 Fax +61 3 9598-0955
> >
> > Radiator: the most portable, flexible and configurable RADIUS server
> > anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> > Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
> > NT, Rhapsody
> > ===
> > Archive at http://www.thesite.com.au/~radiator/
> > To unsubscribe, email '[EMAIL PROTECTED]' with
> > 'unsubscribe radiator' in the body of the message.
>
> --
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-6-6925757
> Fax: 972-6-6925858
> http://www.canaan.co.il
> --------------------------
>
>
>
> ===
> Archive at http://www.thesite.com.au/~radiator/
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.