diff --git a/README.md b/README.md index b762145..5193307 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ When you click on any menu item, the callback `on_context_menu_click(item_idx, m * `system:get_from_clipboard()` - returns a string from the clipboard: * `system:share_text(string)` - opens the "Share" system dialog; * `system:get_lang()` - returns the language selected in the system; +* `system:get_tz_offset()` - get TimeZone offset in seconds. The result of executing a shell command is sent to the `on_shell_result(string)` callback. diff --git a/README_ru.md b/README_ru.md index 626c36e..0047dc2 100644 --- a/README_ru.md +++ b/README_ru.md @@ -85,6 +85,7 @@ ui:prepare_context_menu({ * `system:get_from_clipboard()` - возвращает строку из буфера обмена: * `system:share_text(string)` - открывает системный диалог "Поделиться"; * `system:get_lang()` - возвращает выбранный в системе язык; +* `system:get_tz_offset()` - возвращает time zone offset в секундах. Результат выполнения shell-команды приходит в колбек `on_shell_result(string)`.