mirror of
https://github.com/arendst/Tasmota.git
synced 2026-07-27 20:05:46 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user