From e3af6a91d4e7b2de38c0b60b5c1bb0344dc00e02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= <flashcode@flashtux.org>
Date: Sat, 27 Jan 2024 11:52:54 +0100
Subject: api: add support of specifier `%!` for timestamp in function
 util_strftimeval

---
 doc/it/weechat_plugin_api.it.adoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'doc/it/weechat_plugin_api.it.adoc')

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:
 
-- 
cgit v1.2.3

