Re: [Afick-public] Why the date/time in cron.daly is GTM and not in local timezone?
Brought to you by:
gerbier
From: Eric G. <eri...@me...> - 2004-08-25 12:01:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 mlbossi wrote: > Hello! > > I'am using afick 1.3.1 on Fedora Core2a with the relevant script in > /etc/cron.daily/afck.cron > > In a shell the cmd 'date +%X %x' give 2004/08/20 04:02:07 > (I'm in CEST timezone) > > why the daily afick run give a GMT time stamp??? > > This let me a little bit confuse :-( the perl api offers (as C api) 2 system calls to deliver the current date : gmtime and localtime, and I use only ... gmtime ( some very old habit from my work ). I will work on this point for next release. - -- Eric Gerbier http://webminstats.sourceforge.net http://rpmrebuild.sourceforge.net http://afick.sourceforge.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBLH98Nzh6q8tvpCoRAjaqAJ9Rz/Ty3Jo+mFV8v4bARRhxXJ48agCfd5bt GlfDNGhyQaN1VUOa++arLus= =zXkw -----END PGP SIGNATURE----- |