diff --git a/app/javascript/submission_form/area.vue b/app/javascript/submission_form/area.vue index 0f791c25..54fbb618 100644 --- a/app/javascript/submission_form/area.vue +++ b/app/javascript/submission_form/area.vue @@ -307,7 +307,7 @@ export default { formattedDate () { if (this.field.type === 'date' && this.modelValue) { return this.formatDate( - new Date(this.modelValue), + this.modelValue === '{{date}}' ? new Date() : new Date(this.modelValue), this.field.preferences?.format || (this.locale.endsWith('-US') ? 'MM/DD/YYYY' : 'DD/MM/YYYY') ) } else {