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 f8a7a0a9
authored
Oct 31, 2025
by
Jin Mao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore: lint
1 parent
2cb3dcf4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
packages/@core/base/shared/src/utils/date.ts
packages/stores/src/modules/timezone.ts
packages/@core/base/shared/src/utils/date.ts
View file @
f8a7a0a
import
dayjs
from
'dayjs'
;
import
dayjs
from
"dayjs"
;
import
timezone
from
'dayjs/plugin/timezone'
;
import
timezone
from
"dayjs/plugin/timezone"
;
import
utc
from
'dayjs/plugin/utc'
;
import
utc
from
"dayjs/plugin/utc"
;
dayjs
.
extend
(
utc
);
dayjs
.
extend
(
utc
);
dayjs
.
extend
(
timezone
);
dayjs
.
extend
(
timezone
);
...
...
packages/stores/src/modules/timezone.ts
View file @
f8a7a0a
import
{
ref
,
unref
}
from
'vue'
;
import
{
ref
,
unref
}
from
"vue"
;
import
{
DEFAULT_TIME_ZONE_OPTIONS
}
from
'@vben-core/preferences'
;
import
{
DEFAULT_TIME_ZONE_OPTIONS
}
from
"@vben-core/preferences"
;
import
{
import
{
getCurrentTimezone
,
setCurrentTimezone
}
from
"@vben-core/shared/utils"
;
getCurrentTimezone
,
setCurrentTimezone
,
}
from
'@vben-core/shared/utils'
;
import
{
acceptHMRUpdate
,
defineStore
}
from
'pinia'
;
import
{
acceptHMRUpdate
,
defineStore
}
from
"pinia"
;
interface
TimezoneHandler
{
interface
TimezoneHandler
{
getTimezone
?:
()
=>
Promise
<
null
|
string
|
undefined
>
;
getTimezone
?:
()
=>
Promise
<
null
|
string
|
undefined
>
;
...
...
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