-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Its just text, it doesn't do anything in his message. You would have to copy the text to a file or console to do something.
The joys of plain text email. jon wrote: > I'm quite disturbed that my ESVA gateway let a python script through... > > Yes, OT, but interesting (to me) nevertheless. > > J > > Simon Wood wrote: >> Hi all, >> On one of my trips to VFX Graham queried whether the new daylight savings >> shift is already accounted for.... well Novell Open Audio guys thought the >> problem big enough to put out a special show on the issue. >> >> http://www.novell.com/feeds/openaudio/?p=131 >> >> [makes you wonder why Groupware doesn't use time/locale combination rather >> than UTC as a reference point - afterall computers do travel across >> timezones, some appointments are localtime and some are referenced to other >> timezones] >> >> >> Anyhow got me thinking about it and here's a little python script intended >> to check whether daylight savings starts on the new date of March 11, 2007 >> or not.... >> >> Cheers, >> Simon. >> >> PS. Be nice, it's my first python script :-) >> >> PPS. Dapper LTS seems to be OK. >> >> >> >> ------------------------------------------------------------------------ >> >> #!/bin/python >> from time import strftime, localtime, mktime >> >> # float time_check=0 >> print "Checking March 10/11 transistion, 2007" >> time_check=mktime((2007, 3, 10, 12, 0, 0, 4, 68, -1)) >> >> # add exactly 1 day worth of seconds and see whether we get 'hour' shift. >> if (strftime("%H",localtime(time_check + (3600 * 24))) == "12"): >> print "Daylight Savings not changing - Damn you George W.!" >> else: >> print "Daylight Savings changing - OK." >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> clug-talk mailing list >> [email protected] >> http://clug.ca/mailman/listinfo/clug-talk_clug.ca >> Mailing List Guidelines (http://clug.ca/ml_guidelines.php) >> **Please remove these lines when replying > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFxEzKwRXgH3rKGfMRAjA0AJ9Jyhlj7vTPzEYheHwZVDAM8fS14gCdF78l /uDmc1yhvLrXHQM/SaZKisQ= =JeN3 -----END PGP SIGNATURE----- _______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

