mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Add IsDst()
Add IsDst()
This commit is contained in:
parent
427dee028d
commit
0ef45c1fa3
@ -83,6 +83,14 @@ bool MidnightNow(void)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool IsDst(void)
|
||||||
|
{
|
||||||
|
if (Rtc.time_timezone == Settings.toffset[1]) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
String GetBuildDateAndTime(void)
|
String GetBuildDateAndTime(void)
|
||||||
{
|
{
|
||||||
// "2017-03-07T11:08:02" - ISO8601:2004
|
// "2017-03-07T11:08:02" - ISO8601:2004
|
||||||
|
Loading…
x
Reference in New Issue
Block a user