[ale] Date passed to webmail

greg at turnstep.com greg at turnstep.com
Wed Apr 11 21:22:06 EDT 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Not knowing all the specifics, I'd guess that the webmail app
> is written in Perl (or something that like perl just has a
> wrapper around gmtime/localtime) and whomever wrote it 
doesn't
> understand that it's returning years since 1900, not a two
> digit year. 

Could be almost any C-based language: the tm struct 
in time.h has:

  int tm_year;   /* years since 1900 */

which perl uses, and C as well. All that aside, it was 
sloppy prgramming on somebody's part, especially 
since a webmail app could not have been written 
*too* much pre 2000. :) See [man ctime] for more.

Greg Sabino Mullane
greg at turnstep.com
PGP Key: 0x14964AC8 1910104102121


-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iQA/AwUBOtUDF7ybkGcUlkrIEQL75gCff00TynMWBsM4eArpm
ovtkOCLd1YAoOYb
bN0tKDmj1jtM+xIh472E9Mow
=EgC/
-----END PGP SIGNATURE-----

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list