Thanks for this script, Alpha! I was looking for a way to correct my daylight savings time, but I needed the VM fix anyway - kill two birds with one SEEM edit!
While the SEEM edit worked exactly as it was supposed to, using the network time insisted on setting the clock back an hour earlier than it really was.This is because my firmware (Amin's EE, but probably most others as well) isn't using the new DST rules for the US.
In case someone else has this problem, here's how to fix it:
The local system configuration file contains all the settings for the clock, as well as many others. It is located at:
To edit this file, I used vim through a telnet session, but you could also use eKonsole, or copy this file to your PC, edit it with a UNIX-safe editor, and write it back to the same location.Code:/ezx_user/download/appwrite/setup/ezx_system.cfg
Inside, look for the [WORLDCLOCK] section. Mine looked something like this:
The relevant values to change, as you might guess, are city0dstEndRule and city0dstStartRule. From an educated guess, the format of the string is: seconds.minutes.hours.dayOfWeek.occurence.monthCode:[WORLDCLOCK] DayLightSavingTime0 = 0 DayLightSavingTime1 = 0 DayLightSavingTime2 = 0 LocalCityIndex = 0 city0dstBias = 1 city0dstEndRule = 0.0.2.7.5.10 city0dstStartRule = 0.0.2.7.1.4 city0name = Boston city0zone = -5 city0zoneMin = 0 city0zoneSec = 0
In other words, DST starts at 2AM, the 1st Sunday of April, and ends at 2AM, the 5th (or last) Sunday of October. Since 2007, the US now starts DST on the 2nd Sunday of March, and ends on the 1st Sunday of November. So, the updated lines should read:
Note: The Time application must have a file which contains a list of DST rules for each city, but I'm not sure where it is, and if it's even writable. This means that if you change your home city, it will probably overwrite the DST rules.Code:city0dstEndRule = 0.0.2.7.1.11 city0dstStartRule = 0.0.2.7.2.3



3Likes
Reply With Quote
This is because my firmware (Amin's EE, but probably most others as well) isn't using the new DST rules for the US.
