We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
我们有个需求是用户能手动设置显示的时区,而 new Date使用的是浏览器的时区
<n-config-provider time-zone='Asia/Shanghai' /> <n-date-picker time-zone='Asia/Shanghai' />
The text was updated successfully, but these errors were encountered:
这玩意其实一直在考虑,但是很难整,date-fns-tz 我用起来总有些问题,在不同的运行时结果不稳定。
Sorry, something went wrong.
什么叫运行时结果不稳定?是说在浏览器和 electron 之类的地方运行结果不一样?
这玩意其实一直在考虑,但是很难整,date-fns-tz 我用起来总有些问题,在不同的运行时结果不稳定。 什么叫运行时结果不稳定?是说在浏览器和 electron 之类的地方运行结果不一样?
最简单的例子就是我在 n-time 里面搞的时区,在 github ci 上的结果不稳定,所以 test 暂时被我 ban 了。
具体原因我也说不清楚,还有就是我去对比过真实的时区时间和我通过 date-fns-tz 拿到的,感觉有点差别。
+1 ,现在有方案吗
现在有方案吗
No branches or pull requests
This function solves the problem (这个功能解决的问题)
我们有个需求是用户能手动设置显示的时区,而 new Date使用的是浏览器的时区
Expected API (期望的 API)
The text was updated successfully, but these errors were encountered: