diff --git a/graylog2-web-interface/src/util/DateTime.ts b/graylog2-web-interface/src/util/DateTime.ts index 9c7a9c33cf74e..7760e14ea5c31 100644 --- a/graylog2-web-interface/src/util/DateTime.ts +++ b/graylog2-web-interface/src/util/DateTime.ts @@ -64,7 +64,7 @@ const getFormatStringsForDateTimeFormats = (dateTimeFormats: Array, tz = DEFAULT_OUTPUT_TZ) => { const acceptedFormatStrings = getFormatStringsForDateTimeFormats(acceptedFormats); - const dateObject = moment(dateTime, acceptedFormatStrings, true).tz(tz); + const dateObject = moment.utc(dateTime, acceptedFormatStrings, true).tz(tz); const validationInfo = acceptedFormats?.length ? `Expected formats: ${acceptedFormatStrings.join(', ')}.` : undefined; return validateDateTime(dateObject, dateTime, validationInfo);