Add system:tz()

This commit is contained in:
Evgeny
2025-05-05 08:35:59 +08:00
parent d7cd1c7f26
commit 26ebaa3020
2 changed files with 8 additions and 0 deletions

6
samples/tz-sample.lua Normal file
View File

@@ -0,0 +1,6 @@
function on_load()
ui:show_lines{
"Time zone: "..system:tz(),
"Offset in seconds: "..system:tz_offset()
}
end