Fix date timezone bug (#807)

This commit is contained in:
InfiniteTF 2020-09-12 09:52:48 +02:00 committed by GitHub
parent 147f50de6b
commit 7f907fdf41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ const formatDate = (intl: IntlShape, date?: string) => {
return "";
}
return intl.formatDate(date, { format: "long" });
return intl.formatDate(date, { format: "long", timeZone: "utc" });
};
const TextUtils = {