diff --git a/app/client/widgets/DateEditor.js b/app/client/widgets/DateEditor.js index dfc390c7..d11f4cef 100644 --- a/app/client/widgets/DateEditor.js +++ b/app/client/widgets/DateEditor.js @@ -72,7 +72,8 @@ function DateEditor(options) { toValue: (date, format, language) => { const timestampSec = parseDate(date, { dateFormat: this.safeFormat, - timezone: this.timezone, + // datepicker reads date in utc (ie: using date.getUTCDate()). + timezone: 'UTC', }); return (timestampSec === null) ? null : new Date(timestampSec * 1000); },