Skip to content

Commit ce5fb6b

Browse files
authored
fix:时间戳情况下选择时间异常 (#3927)
1 parent 5b1ac95 commit ce5fb6b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/sites/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@docsearch/css": "^3.8.0",
2929
"@docsearch/js": "^3.8.0",
3030
"@docsearch/react": "npm:@docsearch/css",
31-
"@opentiny/tiny-vue-mcp": "^0.0.3",
31+
"@opentiny/tiny-vue-mcp": "^0.0.5",
3232
"@opentiny/utils": "workspace:~",
3333
"@opentiny/vue": "workspace:~",
3434
"@opentiny/vue-common": "workspace:~",
@@ -107,4 +107,4 @@
107107
"vite-svg-loader": "^3.6.0",
108108
"vue-tsc": "^1.8.5"
109109
}
110-
}
110+
}

packages/renderless/src/picker/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ export const emitDbTime =
14051405
hasDate = true
14061406
let currentDate = getDateWithNewTimezone(item, getLocalTimezone(), from)
14071407

1408-
if (state.valueFormat) {
1408+
if (state.valueFormat && state.valueFormat !== DATEPICKER.TimesTamp) {
14091409
currentDate = formatDate(currentDate, state.valueFormat, t)
14101410
}
14111411

0 commit comments

Comments
 (0)