Open gcampax opened 3 years ago
Notably, an alert set on a relative time ("5 minutes from now") displayed the correct time:
Another log related to that:
U: set a timer at 12:35pm
UT: $dialogue @org.thingpedia.dialogue.transaction.execute;
UT: ontimer(date=[set_time($now, new Time(12, 35))]) => @org.thingpedia.builtin.thingengine.builtin.alert();
C: $dialogue @org.thingpedia.dialogue.transaction.execute;
C: ontimer(date=[set_time($now, new Time(12, 35))]) => @org.thingpedia.builtin.thingengine.builtin.alert()
C: #[results=[]];
#! timestamp: 2021-08-03T19:34:57.285Z
A: Alright, I will alert at set time 5:35 AM on date now.
AT: $dialogue @org.thingpedia.dialogue.transaction.sys_rule_enable_success;
See log:
The time was parsed correctly to 8:30, but replied incorrectly to 1:30 AM.
I am not sure what time the program will actually run at.