mirror of https://github.com/arendst/Tasmota.git
Epoch in Berry map for time
Inserts input epoch value directly into the output map, for consistently having epoch in this data structure
This commit is contained in:
parent
409c9888dd
commit
4a3a52cd3e
|
@ -37,6 +37,7 @@ static int m_dump(bvm *vm)
|
|||
time_insert(vm, "min", t->tm_min);
|
||||
time_insert(vm, "sec", t->tm_sec);
|
||||
time_insert(vm, "weekday", t->tm_wday);
|
||||
time_insert(vm, "epoch", ts);
|
||||
be_pop(vm, 1);
|
||||
be_return(vm);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue