Add debug log to formatDateTime start

This commit is contained in:
Richard Zink committed 2026-10-07 13:33:39 +02:00
1 parent bf109e8225
commit 66cc6d1939
1 file changed
+1
+1
View File
@@ -819,6 +819,7 @@ var effect = (VANTA.CLOUDS2 || VANTA.CLOUDS)({
function pad3(n) { return n < 10 ? '00' + n : n < 100 ? '0' + n : '' + n; }
function formatDateTime(format, date) {
console.log('formatDateTime called', format, 'lang=', window.CONFIG && window.CONFIG.language);
// Strict ISO 8601 format tokens (case-sensitive):
// YYYY 4-digit year (2026)
// MM month 01-12 (10) -- always month, never minute