Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(TIMEZONE): Set `UTC+0` to `UTC`(dayjs does not recognize UTC+0)

haitaoo57843bc0ce38
diff --git a/ui/src/common/constants.ts b/ui/src/common/constants.ts
index c02fb479..70de4cbd 100644
--- a/ui/src/common/constants.ts
+++ b/ui/src/common/constants.ts
@@ -573,10 +573,10 @@ export const TIMEZONES = [
{
label: 'UTC',
- options: [{ value: 'UTC+0', label: 'UTC' }],
+ options: [{ value: 'UTC', label: 'UTC' }],
},
];
-export const DEFAULT_TIMEZONE = 'UTC+0';
+export const DEFAULT_TIMEZONE = 'UTC';
export const TIMELINE_NORMAL_ACTIVITY_TYPE = [
'undeleted',