[wpkg-users] Do file time checks take daylight savings time into account?

Stefan Pendl stefan.pendl.71 at gmail.com
Sun Oct 30 18:46:46 CET 2011


Hi Rainer,

It seems that file time checks do not take daylight savings time into account.

All the file time checks are failing today, where they have been working until yesterday.

<quote>
2011-10-30 18:36:37, DEBUG   : Setting variable: 'PKG_VER=1.19.1'.
2011-10-30 18:36:37, DEBUG   : Setting variable: 'PKG_DATE=2011-10-23 18:05:07'.
2011-10-30 18:36:37, DEBUG   : Setting variable: 'PKG_NAME=SpellCheckerEnglishGB'.
2011-10-30 18:36:37, DEBUG   : Setting variable: 'PKG_SRC=%SOFTWARE%\Mozilla
Add-ons\british_english_dictionary-%PKG_VER%-fx+tb+sm.xpi'.
2011-10-30 18:36:37, DEBUG   : Setting variable: 'PKG_DST=%ProgramFiles%\Mozilla
Firefox\extensions\en-GB at dictionaries.addons.mozilla.org'.
2011-10-30 18:36:37, DEBUG   : Setting variable: 'PKG_FILE=install.rdf'.
2011-10-30 18:36:37, DEBUG   : Checking file modification date.
2011-10-30 18:36:37, DEBUG   : Reading last modification date of 'C:\Program Files\Mozilla
Firefox\extensions\en-GB at dictionaries.addons.mozilla.org\install.rdf'.
2011-10-30 18:36:37, DEBUG   : Reading comparison date: 2011-10-23 18:05:07.
2011-10-30 18:36:37, DEBUG   : Modification date of file 'C:\Program Files\Mozilla
Firefox\extensions\en-GB at dictionaries.addons.mozilla.org\install.rdf' is Sun Oct 23 17:05:07 UTC+0200 2011 which isn't equal to the
comparison date Sun Oct 23 18:05:07 UTC+0200 2011 check failed.
2011-10-30 18:36:37, DEBUG   : Searching for previously executed checks with attributes type='file', condition='datemodifyequalto',
path='%PKG_DST%\\%PKG_FILE%', value='%PKG_DATE%'
2011-10-30 18:36:37, DEBUG   : Found 1 previously executed checks.
2011-10-30 18:36:37, DEBUG   : Replacing check results of previous evaluation
2011-10-30 18:36:37, DEBUG   : Saving sorted settings to 'C:\WINDOWS\system32\wpkg.xml'.
2011-10-30 18:36:37, DEBUG   : Saving XML : C:\WINDOWS\system32\wpkg.xml
2011-10-30 18:36:37, ERROR   : Could not process (install) Firefox Extension - Spell Checker English GB.|Failed checking after
installation.
</quote>

---
Stefan




More information about the wpkg-users mailing list