Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 639ea96b
authored
Oct 30, 2025
by
zhongming4762
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: resolve the issue of logout failure caused by the timezone store
1 parent
565be77e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
packages/@core/base/shared/src/utils/date.ts
packages/@core/base/shared/src/utils/date.ts
View file @
639ea96
...
...
@@ -16,7 +16,7 @@ export function formatDate(time: FormatDate, format = 'YYYY-MM-DD') {
return
date
.
tz
().
format
(
format
);
}
catch
(
error
)
{
console
.
error
(
`Error formatting date:
${
error
}
`
);
return
time
;
return
String
(
time
)
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment