Skip to content

Commit

Permalink
Bug fix: wrong date variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreaming-augustin committed Dec 26, 2024
1 parent 14912c7 commit 00bb2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/modules/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 00bb2e8

Please sign in to comment.