add system:get_tz_offset
This commit is contained in:
@@ -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:get_from_clipboard()` - returns a string from the clipboard:
|
||||||
* `system:share_text(string)` - opens the "Share" system dialog;
|
* `system:share_text(string)` - opens the "Share" system dialog;
|
||||||
* `system:get_lang()` - returns the language selected in the system;
|
* `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.
|
The result of executing a shell command is sent to the `on_shell_result(string)` callback.
|
||||||
|
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ ui:prepare_context_menu({
|
|||||||
* `system:get_from_clipboard()` - возвращает строку из буфера обмена:
|
* `system:get_from_clipboard()` - возвращает строку из буфера обмена:
|
||||||
* `system:share_text(string)` - открывает системный диалог "Поделиться";
|
* `system:share_text(string)` - открывает системный диалог "Поделиться";
|
||||||
* `system:get_lang()` - возвращает выбранный в системе язык;
|
* `system:get_lang()` - возвращает выбранный в системе язык;
|
||||||
|
* `system:get_tz_offset()` - возвращает time zone offset в секундах.
|
||||||
|
|
||||||
Результат выполнения shell-команды приходит в колбек `on_shell_result(string)`.
|
Результат выполнения shell-команды приходит в колбек `on_shell_result(string)`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user