ons, 16 11 2005 kl. 08:22 -0800, skrev Juerg Haefliger: > use /etc/adjtime to determine wheter your BIOS time is UTC (man > hwclock), or add a switch to local_conf.py, i.e.: > > if (config.BIOS_TIME = 'utc') > wakeup = time.gmtime(wakeup) > else: > wakeup = time.localtime(wakeup) > > or > > if os.system(`grep -i utc /etc/adjtime > /dev/null 2>&1`): > wakeup = time.localtime(wakeup) > else: > wakeup = time.gmtime(wakeup) > > > and all the above is of course untested :-)
Nice solutions, I will test them soon. -- Mvh. / Kind regards Henrik Farre - http://www.rockhopper.dk
signature.asc
Description: Dette er en digitalt underskrevet brevdel
