没有合适的资源?快使用搜索试试~ 我知道了~
date-fns-tz:date-fns v2的补充库,添加了IANA时区支持
共101个文件
js:54个
flow:16个
ts:15个
需积分: 11 0 下载量 2 浏览量
2021-04-28
09:26:36
上传
评论
收藏 766KB ZIP 举报
温馨提示
日期-fns-tz 使用 v2.0.0的时区支持。 通过使用浏览器API,无需将时区数据包含在代码束中。 现代浏览器均支持,对于那些不使用浏览器,则可以使用。 如果您不希望使用polyfill,则仍可以使用时区选项,但只能使用时区偏移量,例如'-0200'或'+04:00',而不能使用IANA时区名称。 目录 给定日期和任何时区,返回具有等效UTC时间的Date 从UTC日期获取表示给定时区中本地时间的日期/时间 获取时区和UTC时间之间的偏移量(以毫秒为单位) -在全时区支持下扩展date-fns/format 可用于从包含偏移量或IANA时区的字符串中创建分区日期 概述 使用UTC或ISO日期字符串很容易,当所有时间都显示在浏览器中的用户本地时间中时,使用JS日期也很容易。 当使用除当前系统以外的其他时区的本地时间(例如在节点服务器上)或在特定时区中显示事件的时间(例如,太平
资源推荐
资源详情
资源评论
收起资源包目录
date-fns-tz:date-fns v2的补充库,添加了IANA时区支持 (101个子文件)
yarn-berry.cjs 1.56MB
.editorconfig 162B
.eslintignore 34B
index.js.flow 2KB
index.js.flow 1018B
index.js.flow 909B
index.js.flow 907B
index.js.flow 907B
index.js.flow 745B
index.js.flow 740B
index.js.flow 738B
index.js.flow 738B
index.js.flow 731B
index.js.flow 653B
index.js.flow 653B
index.js.flow 653B
index.js.flow 644B
index.js.flow 631B
index.js.flow 614B
.flowconfig 81B
.gitignore 205B
.gitkeep 0B
test.js 28KB
index.js 21KB
test.js 16KB
index.js 11KB
typeScript.js 10KB
docs.js 8KB
karma.js 5KB
index.js 5KB
OptionsWithTZ.js 4KB
test.js 4KB
formatBlock.js 4KB
flow.js 4KB
index.js 3KB
test.js 3KB
index.js 3KB
test.js 2KB
common.js 2KB
packages.js 2KB
index.js 2KB
test.js 2KB
test.js 2KB
index.js 2KB
indices.js 1KB
fp.js 1KB
webpack.js 1KB
index.js 1KB
benchmarkJSONReporter.js 1KB
index.js 1KB
.ts-eslintrc.js 842B
test.js 815B
index.js 757B
typings.js 737B
index.js 652B
index.js 581B
countReporter.js 557B
.babelrc.js 535B
listFns.js 475B
listFPFns.js 465B
index.js 421B
index.js 372B
index.js 297B
index.js 297B
index.js 284B
index.js 275B
index.js 275B
index.js 273B
index.js 273B
.eslintrc.js 253B
index.js 251B
index.js 251B
prettier.js 200B
test.js 108B
.prettierrc.js 100B
.eslintrc.js 62B
package.json 3KB
tsconfig.json 572B
yarn.lock 308KB
README.md 10KB
CHANGELOG.md 2KB
LICENSE.md 1KB
package.sh 2KB
build.sh 211B
typings.d.ts 16KB
index.d.ts 191B
index.d.ts 191B
index.d.ts 175B
index.d.ts 175B
index.d.ts 175B
index.d.ts 172B
index.d.ts 169B
index.d.ts 169B
index.d.ts 166B
index.d.ts 166B
index.d.ts 153B
index.d.ts 153B
index.d.ts 150B
index.d.ts 150B
.travis.yml 123B
共 101 条
- 1
- 2
资源评论
Dr熊吉
- 粉丝: 30
- 资源: 4603
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功