Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用N-date-picker 的type=quarter时,由于中国和美国时区不一致,导致以时间戳保存的数据,在不同的地区显示的quarter不一致 #5255

Closed
wj007881 opened this issue Sep 20, 2023 · 1 comment

Comments

@wj007881
Copy link

TuSimple/naive-ui version (版本)

2.34.4

Vue version (Vue 版本)

3.3.4

Browser and its version (浏览器及其版本)

Chrome 116

System and its version (系统及其版本)

windows 11

Node version (Node 版本)

Reappearance link (重现链接)

https://gitHub.com

Reappearance steps (重现步骤)

使用N-date-picker 的type=quarter时,由于中国和美国时区不一致,导致以时间戳保存的数据,在不同的地区显示的quarter不一致

Expected results (期望的结果)

使用N-date-picker 的type=quarter时,由于中国和美国时区不一致,导致以时间戳保存的数据,在不同的地区显示的quarter不一致

Actual results (实际的结果)

使用N-date-picker 的type=quarter时,由于中国和美国时区不一致,导致以时间戳保存的数据,在不同的地区显示的quarter不一致 ,例如选择Q3的时间戳在中国是7月1号0:00,但在美国是6月30号,显示为Q2

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Sep 20, 2023
@Sepush Sepush removed the untriaged need to sort label Sep 28, 2023
@Sepush Sepush closed this as completed Sep 28, 2023
@Sepush
Copy link
Collaborator

Sepush commented Sep 28, 2023

not a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants