summaryrefslogtreecommitdiff
path: root/doc/it/weechat_plugin_api.it.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-01-27 11:52:54 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-01-27 16:53:53 +0100
commite3af6a91d4e7b2de38c0b60b5c1bb0344dc00e02 (patch)
tree9815d4e2c4cc888b565c1bc24d6e1da4364b2d58 /doc/it/weechat_plugin_api.it.adoc
parent73a1c9753a9e5f996046abde2b797ab0af5b349b (diff)
downloadweechat-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.adoc5
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: