diff --git a/app/javascript/submission_form/form.vue b/app/javascript/submission_form/form.vue index d941dd59..bfab5e91 100644 --- a/app/javascript/submission_form/form.vue +++ b/app/javascript/submission_form/form.vue @@ -639,7 +639,7 @@ export default { setCurrentDate () { const inputEl = document.getElementById(this.currentField.uuid) - inputEl.valueAsDate = new Date() + inputEl.valueAsDate = new Date(new Date().getTime() - new Date().getTimezoneOffset() * 60000) inputEl.dispatchEvent(new Event('input', { bubbles: true })) },