From bf109e82252ed5c0f40b8aca1ac883a35927bf34 Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Wed, 7 Oct 2026 13:31:53 +0200 Subject: [PATCH] Add debug log to MMMM token --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 1daa70d..1f45f45 100644 --- a/index.html +++ b/index.html @@ -865,7 +865,9 @@ var effect = (VANTA.CLOUDS2 || VANTA.CLOUDS)({ result += date.getFullYear(); i += 1; } else if (ch === 'M' && format.substr(i, 4) === 'MMMM') { - result += t(monthKeys[date.getMonth()]); + var tMonthFull = t(monthKeys[date.getMonth()]); + console.log('MMMM token', date.getMonth(), '->', tMonthFull, 'lang=', window.CONFIG && window.CONFIG.language); + result += tMonthFull; i += 4; } else if (ch === 'M' && format.substr(i, 3) === 'MMM') { result += t(monthKeys[date.getMonth()].substring(0, 3) + '.');