@@ -135,7 +135,7 @@ Program.GoBackground();</ScriptSource>
135135 </ProgramFeature >
136136 </Features >
137137 <ActivationTime xsi : nil =" true" />
138- <TriggerTime >2016-01-05T21:46:50.202498Z </TriggerTime >
138+ <TriggerTime >2016-01-06T00:42:10.069027Z </TriggerTime >
139139 <Type >CSharp</Type >
140140 <IsEnabled >true</IsEnabled >
141141 </ProgramBlock >
@@ -268,7 +268,7 @@ For instructions see: http://developers.meethue.com/gettingstarted.html .</Descr
268268 <Group >Devices and Things</Group >
269269 <Features />
270270 <ActivationTime xsi : nil =" true" />
271- <TriggerTime >2016-01-05T21:46:50.085557Z </TriggerTime >
271+ <TriggerTime >2016-01-06T00:42:09.999407Z </TriggerTime >
272272 <Type >CSharp</Type >
273273 <IsEnabled >true</IsEnabled >
274274 </ProgramBlock >
@@ -450,7 +450,7 @@ To activate this widget specify a valid user <strong>Key</strong> th
450450 <Group >Weather and Enviroment</Group >
451451 <Features />
452452 <ActivationTime xsi : nil =" true" />
453- <TriggerTime >2016-01-05T21:46:50.407097Z </TriggerTime >
453+ <TriggerTime >2016-01-06T00:42:09.742282Z </TriggerTime >
454454 <Type >CSharp</Type >
455455 <IsEnabled >true</IsEnabled >
456456 </ProgramBlock >
@@ -522,7 +522,7 @@ while (Program.IsEnabled)
522522 </ProgramFeature >
523523 </Features >
524524 <ActivationTime xsi : nil =" true" />
525- <TriggerTime >2016-01-05T21:46:50.209188Z </TriggerTime >
525+ <TriggerTime >2016-01-06T00:42:09.999236Z </TriggerTime >
526526 <Type >CSharp</Type >
527527 <IsEnabled >true</IsEnabled >
528528 </ProgramBlock >
@@ -1138,7 +1138,7 @@ Program.GoBackground();</ScriptSource>
11381138 </ProgramFeature >
11391139 </Features >
11401140 <ActivationTime xsi : nil =" true" />
1141- <TriggerTime >2016-01-05T21:46:50.341951Z </TriggerTime >
1141+ <TriggerTime >2016-01-06T00:42:09.813019Z </TriggerTime >
11421142 <Type >CSharp</Type >
11431143 <IsEnabled >true</IsEnabled >
11441144 </ProgramBlock >
@@ -1185,7 +1185,7 @@ Program.GoBackground();</ScriptSource>
11851185 </ProgramFeature >
11861186 </Features >
11871187 <ActivationTime xsi : nil =" true" />
1188- <TriggerTime >2016-01-05T21:46:50.30898Z </TriggerTime >
1188+ <TriggerTime >2016-01-06T00:42:09.98565Z </TriggerTime >
11891189 <Type >CSharp</Type >
11901190 <IsEnabled >true</IsEnabled >
11911191 </ProgramBlock >
@@ -1534,7 +1534,7 @@ while (Program.IsEnabled)
15341534 </ProgramFeature >
15351535 </Features >
15361536 <ActivationTime xsi : nil =" true" />
1537- <TriggerTime >2016-01-05T21:46:50.04648Z </TriggerTime >
1537+ <TriggerTime >2016-01-06T00:42:09.894307Z </TriggerTime >
15381538 <Type >CSharp</Type >
15391539 <IsEnabled >true</IsEnabled >
15401540 </ProgramBlock >
@@ -1664,7 +1664,7 @@ Program.GoBackground();</ScriptSource>
16641664 </ProgramFeature >
16651665 </Features >
16661666 <ActivationTime xsi : nil =" true" />
1667- <TriggerTime >2016-01-05T21:46:50.312708Z </TriggerTime >
1667+ <TriggerTime >2016-01-06T00:42:09.719893Z </TriggerTime >
16681668 <Type >CSharp</Type >
16691669 <IsEnabled >true</IsEnabled >
16701670 </ProgramBlock >
@@ -1828,7 +1828,7 @@ Program.Run();
18281828 <Group >Messaging and Social</Group >
18291829 <Features />
18301830 <ActivationTime xsi : nil =" true" />
1831- <TriggerTime >2016-01-05T21:46:50.175842Z </TriggerTime >
1831+ <TriggerTime >2016-01-06T00:42:10.027703Z </TriggerTime >
18321832 <Type >CSharp</Type >
18331833 <IsEnabled >true</IsEnabled >
18341834 </ProgramBlock >
@@ -2263,7 +2263,7 @@ energy consumption.</Description>
22632263 <Group >Energy Management</Group >
22642264 <Features />
22652265 <ActivationTime xsi : nil =" true" />
2266- <TriggerTime >2016-01-05T21:46:50.21773Z </TriggerTime >
2266+ <TriggerTime >2016-01-06T00:42:10.031682Z </TriggerTime >
22672267 <Type >CSharp</Type >
22682268 <IsEnabled >true</IsEnabled >
22692269 </ProgramBlock >
@@ -2412,7 +2412,7 @@ It requires that a manufacturer specific get has been issued on the node.</Descr
24122412 <Group >Z-Wave</Group >
24132413 <Features />
24142414 <ActivationTime xsi : nil =" true" />
2415- <TriggerTime >2016-01-05T21:46:50.090024Z </TriggerTime >
2415+ <TriggerTime >2016-01-06T00:42:09.850648Z </TriggerTime >
24162416 <Type >CSharp</Type >
24172417 <IsEnabled >true</IsEnabled >
24182418 </ProgramBlock >
@@ -2662,7 +2662,7 @@ while (Program.IsEnabled)
26622662 </ProgramFeature >
26632663 </Features >
26642664 <ActivationTime xsi : nil =" true" />
2665- <TriggerTime >2016-01-05T21:46:50.298833Z </TriggerTime >
2665+ <TriggerTime >2016-01-06T00:42:09.788687Z </TriggerTime >
26662666 <Type >CSharp</Type >
26672667 <IsEnabled >true</IsEnabled >
26682668 </ProgramBlock >
@@ -6717,13 +6717,13 @@ var GetClosestEvent = new Func<ModuleParameter, DateTime, DateTime>((param
67176717 var closest = hist[hist.Count-1];
67186718 for(int p = hist.Count-1; p > = 0; p--)
67196719 {
6720- if (date < = hist[p].Timestamp)
6720+ if (date < = hist[p].Timestamp.ToLocalTime() )
67216721 {
67226722 break;
67236723 }
67246724 closest = hist[p];
67256725 }
6726- closestTimestamp = closest.Timestamp;
6726+ closestTimestamp = closest.Timestamp.ToLocalTime() ;
67276727 } catch { }
67286728 }
67296729 return closestTimestamp;
@@ -7098,9 +7098,59 @@ while (Program.IsEnabled)
70987098 <Name >Timetable</Name >
70997099 <Description >Widget for scheduling thermostats, lights and shutters.</Description >
71007100 <Group >Scheduling</Group >
7101- <Features />
7102- <ActivationTime >2016-01-05T21:47:16.831704Z</ActivationTime >
7103- <TriggerTime xsi : nil =" true" />
7101+ <Features >
7102+ <ProgramFeature >
7103+ <FieldType >timetable</FieldType >
7104+ <ForDomains />
7105+ <ForTypes >Light,Switch,Shutter,Dimmer,Thermostat</ForTypes >
7106+ <Property >TimeTable.Weekend</Property >
7107+ <Description >Timetable to use for weekend</Description >
7108+ </ProgramFeature >
7109+ <ProgramFeature >
7110+ <FieldType >timetable</FieldType >
7111+ <ForDomains />
7112+ <ForTypes >Light,Switch,Shutter,Dimmer,Thermostat</ForTypes >
7113+ <Property >TimeTable.Workday</Property >
7114+ <Description >Timetable to use for workday</Description >
7115+ </ProgramFeature >
7116+ <ProgramFeature >
7117+ <FieldType >timetable</FieldType >
7118+ <ForDomains />
7119+ <ForTypes >Light,Switch,Shutter,Dimmer,Thermostat</ForTypes >
7120+ <Property >TimeTable.Holiday</Property >
7121+ <Description >Timetable to use for holiday</Description >
7122+ </ProgramFeature >
7123+ <ProgramFeature >
7124+ <FieldType >timetable</FieldType >
7125+ <ForDomains />
7126+ <ForTypes >Light,Switch,Shutter,Dimmer,Thermostat</ForTypes >
7127+ <Property >TimeTable.Special</Property >
7128+ <Description >Timetable to use for special day</Description >
7129+ </ProgramFeature >
7130+ <ProgramFeature >
7131+ <FieldType >checkbox</FieldType >
7132+ <ForDomains />
7133+ <ForTypes >Light,Switch,Shutter,Dimmer,Thermostat</ForTypes >
7134+ <Property >TimeTable.Enable</Property >
7135+ <Description >Enable Timetable scheduling</Description >
7136+ </ProgramFeature >
7137+ <ProgramFeature >
7138+ <FieldType >checkbox</FieldType >
7139+ <ForDomains />
7140+ <ForTypes >Light,Switch,Shutter,Dimmer,Thermostat</ForTypes >
7141+ <Property >TimeTable.Repeat</Property >
7142+ <Description >Repeat command for the whole duration</Description >
7143+ </ProgramFeature >
7144+ <ProgramFeature >
7145+ <FieldType >checkbox</FieldType >
7146+ <ForDomains />
7147+ <ForTypes >Light,Switch,Shutter,Dimmer,Thermostat</ForTypes >
7148+ <Property >TimeTable.CheckDST</Property >
7149+ <Description >Enable Day Light Saving check</Description >
7150+ </ProgramFeature >
7151+ </Features >
7152+ <ActivationTime >2016-01-06T00:42:41.749703Z</ActivationTime >
7153+ <TriggerTime >2016-01-06T00:42:41.790891Z</TriggerTime >
71047154 <Type >CSharp</Type >
71057155 <IsEnabled >true</IsEnabled >
71067156 </ProgramBlock >
@@ -7813,7 +7863,7 @@ Also it lets you dim last addressed module using Up/Down button which can be def
78137863 </ProgramFeature >
78147864 </Features >
78157865 <ActivationTime xsi : nil =" true" />
7816- <TriggerTime >2016-01-05T21:46:50.390028Z </TriggerTime >
7866+ <TriggerTime >2016-01-06T00:42:10.071808Z </TriggerTime >
78177867 <Type >CSharp</Type >
78187868 <IsEnabled >true</IsEnabled >
78197869 </ProgramBlock >
0 commit comments