[WEB-761] fix: Time zone date misalignment (#3986)
* fix date time misalignment * fix failing build * fix gantt chart view position fix * comments for getDate method * remove new Date() where not required * changes from my self review
This commit is contained in:
parent
aa3702cd46
commit
1a462711e1
41 changed files with 303 additions and 192 deletions
|
|
@ -21,6 +21,7 @@ import { DocumentEditorWithRef, DocumentReadOnlyEditorWithRef } from "@plane/doc
|
|||
import { Spinner } from "@plane/ui";
|
||||
// assets
|
||||
// helpers
|
||||
import { getDate } from "helpers/date-time.helper";
|
||||
// types
|
||||
import { IPage } from "@plane/types";
|
||||
import { NextPageWithLayout } from "lib/types";
|
||||
|
|
@ -282,7 +283,7 @@ const PageDetailsPage: NextPageWithLayout = observer(() => {
|
|||
? {
|
||||
action: archived_at ? unArchivePage : archivePage,
|
||||
is_archived: archived_at ? true : false,
|
||||
archived_at: archived_at ? new Date(archived_at) : undefined,
|
||||
archived_at: archived_at ? getDate(archived_at) : undefined,
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue