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? 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
环境:
node:v18.0.0
npm:8.6.0
"@tarojs/taro": "3.6.19"
"dayjs": "^1.11.10"
期望:dayjs.tz按照固定时区转换时间
例如:dayjs('2024-07-02T02:00:00Z').tz('Asia/Shanghai').format(‘YYYY年MM月DD日 HH:mm’)会按照这个时区显示为2024年07月02日10:00
问题:Android会按照手机设置的时区转换时间
已在程序入口设置
dayjs.extend(utc); dayjs.extend(localeData); dayjs.extend(timezone); dayjs.tz.setDefault('Asia/Shanghai');
问题:dayjs(date).tz()不会根据默认的时区设置,转换时间
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这个特性解决了什么问题?
环境:
node:v18.0.0
npm:8.6.0
"@tarojs/taro": "3.6.19"
"dayjs": "^1.11.10"
期望:dayjs.tz按照固定时区转换时间
例如:dayjs('2024-07-02T02:00:00Z').tz('Asia/Shanghai').format(‘YYYY年MM月DD日 HH:mm’)会按照这个时区显示为2024年07月02日10:00
问题:Android会按照手机设置的时区转换时间
这个 API 长什么样?
已在程序入口设置
问题:dayjs(date).tz()不会根据默认的时区设置,转换时间
The text was updated successfully, but these errors were encountered: