Open
Description
Using Photon the timezone function seems to screw with the hours function. Calling Time.hour(3500)); should result in 0 while im getting 18? Really weird.
Code works perfect if I comment out time.zone.
Code:
#include "TimeAlarms/TimeAlarms.h"
#undef now()
void setup() {
Time.zone(-6); //Offending code
}
void loop(){
Serial.println(Time.hour(3500));
Serial.println("...");
delay (1000);
}
Metadata
Metadata
Assignees
Labels
No labels