diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-01-27 11:52:54 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-01-27 16:53:53 +0100 |
commit | e3af6a91d4e7b2de38c0b60b5c1bb0344dc00e02 (patch) | |
tree | 9815d4e2c4cc888b565c1bc24d6e1da4364b2d58 /doc/it/weechat_plugin_api.it.adoc | |
parent | 73a1c9753a9e5f996046abde2b797ab0af5b349b (diff) | |
download | weechat-e3af6a91d4e7b2de38c0b60b5c1bb0344dc00e02.zip |
api: add support of specifier `%!` for timestamp in function util_strftimeval
Diffstat (limited to 'doc/it/weechat_plugin_api.it.adoc')
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index ff1e98de2..2f47ef3ce 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -4916,10 +4916,10 @@ Questa funzione non è disponibile nelle API per lo scripting. // TRANSLATION MISSING ==== util_strftimeval -_WeeChat ≥ 4.2.0._ +_WeeChat ≥ 4.2.0, updated in 4.3.0._ Format date and time like function `strftime` in C library, using `struct timeval` -as input, and supporting extra specifiers for microseconds. +as input, and supporting extra specifiers. Prototype: @@ -4936,6 +4936,7 @@ Arguments: ** `%.N` where `N` is between 1 and 6: zero-padded microseconds on N digits (for example `%.3` for milliseconds) ** `%f`: alias of `%.6` +** `%!`: timestamp as integer, in seconds (value of tv->tv_sec) Return value: |