Add IsDst()

Add IsDst()
This commit is contained in:
Theo Arends 2019-08-25 17:31:27 +02:00
parent 427dee028d
commit 0ef45c1fa3

View File

@ -83,6 +83,14 @@ bool MidnightNow(void)
return false;
}
bool IsDst(void)
{
if (Rtc.time_timezone == Settings.toffset[1]) {
return true;
}
return false;
}
String GetBuildDateAndTime(void)
{
// "2017-03-07T11:08:02" - ISO8601:2004