From 00bb2e8e6e940b96a58969f114f242ebb83eb2cb Mon Sep 17 00:00:00 2001 From: dreaming-augustin Date: Thu, 26 Dec 2024 13:40:00 +0800 Subject: [PATCH] Bug fix: wrong date variable. --- src/definitions/modules/calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/modules/calendar.js b/src/definitions/modules/calendar.js index bdd4b9d04a..925099d75d 100644 --- a/src/definitions/modules/calendar.js +++ b/src/definitions/modules/calendar.js @@ -1145,7 +1145,7 @@ }, dateObjectOrFormatted: function (format, date) { format = format || ''; - date = module.helper.sanitiseDate($module.data(metadata.date)) || null; + date = module.helper.sanitiseDate(date) || null; if (!date) { return null;