diff --git a/print/core/filters/date.js b/print/core/filters/date.js index 37b9dd16f..0988eda75 100644 --- a/print/core/filters/date.js +++ b/print/core/filters/date.js @@ -1,6 +1,6 @@ const Vue = require('vue'); const strftime = require('strftime'); -Vue.filter('date', function(value, specifiers) { +Vue.filter('date', function(value, specifiers = '%d-%m-%Y') { return strftime(specifiers, value); }); diff --git a/print/templates/email/buyer-week-waste/buyer-week-waste.html b/print/templates/email/buyer-week-waste/buyer-week-waste.html index 56d0a7e0d..b9ebd6175 100644 --- a/print/templates/email/buyer-week-waste/buyer-week-waste.html +++ b/print/templates/email/buyer-week-waste/buyer-week-waste.html @@ -43,7 +43,7 @@