kaelri / enigma

A featured "suite" for the Windows system monitoring application, Rainmeter.
https://www.kaelri.com/project/enigma/
275 stars 94 forks source link

Incorrect Daylight Savings Time #78

Closed jwhayman closed 10 years ago

jwhayman commented 10 years ago

I noticed that Enigma wasn't accounting for Daylight Savings Time (DST) for the clock, resulting in my times being off.

I fixed it by editing the /Sidebar/World/World.inc file:

[MeasureTimeZone]
RegExp=<gmtOffset>(.*)</gmtOffset>

to

[MeasureTimeZone]
RegExp=<dstOffset>(.*)</dstOffset>

then I added DaylightSavingsTime=0 to [MeasureTime], [MeasureReal1], [MeasureReal2] which seems to have fixed it.