From d9b1819e0b5396ac1594f4e39e5b6e86d01fb806 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 28 Jun 2026 14:32:33 -0400 Subject: [PATCH] FS#13942 - Lua strftime os.date("%C") Change-Id: I5a4cb8d362a69d12c2d7e5013dcf179cc20d01b3 --- apps/plugins/lua/include_lua/strftime.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/lua/include_lua/strftime.lua b/apps/plugins/lua/include_lua/strftime.lua index d12dd650a3..0079d6fecb 100644 --- a/apps/plugins/lua/include_lua/strftime.lua +++ b/apps/plugins/lua/include_lua/strftime.lua @@ -86,7 +86,7 @@ local function strftime(tmfmt, tm) --local idx = tm.hour > 12 and 2 or 1 out = tm.hour > 12 and "pm" or "am" elseif c == "C" then - local no = (tm.year / 100) + 19 + local no = (tm.year / 100) out = strformat("%02d", no) elseif c == "d" then out = strformat("%02d", tm.day)