【文件属性】:
文件名称:date
文件大小:138KB
文件格式:ZIP
更新时间:2021-03-26 12:28:34
TypeScript
@ ailo /日期
特征:
DateTimeWithTimeZone日期+时间+时区
LocalDate日期
RecurringDate每天/每周/每两周/每月/每年重复的日期
DefaultTimeZoneRef保留将使用的默认时区(未传递时区arg时)
DateRange跨越两个日期的日期范围
发展
yarn
yarn start
测验
yarn lint # prettier and eslint
yarn test # unit tests
yarn test:watch # unit tests in watch mode
yarn validate # run linters, tests and build
发行
注意:释放是手动完成的。 该项目没有CI / CD配置。
yarn release # will automatically ask you about v
【文件预览】:
date-master
----yarn.lock(302KB)
----go(56B)
----.eslintrc.js(234B)
----.prettierignore(13B)
----src()
--------DateRange.test.ts(5KB)
--------index.ts(204B)
--------DateTimeWithTimeZone.test.ts(9KB)
--------DateRange.ts(2KB)
--------isLedgerMaxDate.ts(381B)
--------RecurringDate.ts(5KB)
--------DefaultTimeZoneRef.ts(213B)
--------RecurringDateInput.ts(2KB)
--------LocalDate.test.ts(6KB)
--------RecurringDate.test.ts(8KB)
--------DateTimeWithTimeZone.ts(6KB)
--------LocalDate.ts(9KB)
----.npmignore(150B)
----tsconfig.json(2KB)
----LICENSE(1KB)
----README.md(767B)
----tsconfig.module.json(169B)
----.gitignore(88B)
----CHANGELOG.md(6KB)
----.eslintignore(35B)
----package.json(3KB)