Skip to content

8-hour difference between Beijing time zone and Shanghai time zone #12791

@kyrieLiuSir

Description

@kyrieLiuSir

SUMMARY | 问题概要

When loading a page via webview in Electron, the date retrieved inside the page shows an 8-hour difference between Beijing time zone and Shanghai time zone, and the Shanghai time zone is correct. Is there any solution?

SOFTWARE/OS VERSIONS | 软件/系统版本信息

版本号:专业版(1060)
内核版本:4.19.0-amd64-desktop

PRE-REQUIREMENT | 预置条件

No response

STEPS TO REPRODUCE | 复现步骤

electron使用webview加载页面,页面内部使用new Date(),对比一下上海时区和北京时区的值

OBSERVED RESULT | 观察到的结果

No response

EXPECTED RESULT | 期望的结果

No response

ADDITIONAL INFORMATION | 额外补充

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage | need confirmationother | 需要确认一下进一步确认, 才能够更好的归类triage | need more informationtriage | 需要更多的信息,能够提供更多信息方便复现

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions