summaryrefslogtreecommitdiffstats
path: root/src/time.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-20 14:25:57 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-20 14:25:57 +0000
commit7e93577a957e4f402bb690c4c8629fd831e24a9d (patch)
tree723455cff279f97e977876070050825f0a3f5b5b /src/time.c
parent05b27615481e72e3b338bb12990fb3e0c2ecc2a9 (diff)
patch 8.2.4155: translating strftime() argument results in check errorv8.2.4155
Problem: Translating strftime() argument results in check error. Solution: Add gettext comment.
Diffstat (limited to 'src/time.c')
-rw-r--r--src/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/time.c b/src/time.c
index 75e7b2546f..020f78dd0e 100644
--- a/src/time.c
+++ b/src/time.c
@@ -93,6 +93,7 @@ get_ctime(time_t thetime, int add_newline)
vim_strncpy((char_u *)buf, (char_u *)_("(Invalid)"), sizeof(buf) - 1);
else
{
+ // xgettext:no-c-format
(void)strftime(buf, sizeof(buf) - 1, _("%a %b %d %H:%M:%S %Y"),
curtime);
# ifdef MSWIN