【文件属性】:
文件名称:PersianDate:javascript日期库,用于解析,验证,操作和格式化波斯日期系统
文件大小:191KB
文件格式:ZIP
更新时间:2021-05-02 16:02:21
JavaScript
波斯日期
用于解析,验证,操作和格式化波斯日期系统的Javascript日期库。
从1.0.0起波斯日期支持公历。
受到启发
更多信息
安装
npm install persian-date --save-dev
bower install persian-date --save-dev
浏览器
< script src =" node_modules/persian-date/dist/persian-date.js " type =" text/javascript " > </ script >
< script type =" text/javascript " >
new persianDate ( ) . format ( ) ; // "۱۳۹۶-۰۱-۱۱ ۲۳:۳۳:۲۷ ب ظ" (when i run in my console)
</ script
【文件预览】:
PersianDate-master
----.gitignore(128B)
----README.md(26KB)
----CHANGELOG.md(2KB)
----typings()
--------persian-date.d.ts(7KB)
----.github()
--------ISSUE_TEMPLATE.md(1KB)
----test()
--------leap-year.js(6KB)
--------gregorian.js(5KB)
--------test.js(51KB)
--------index.html(732B)
----LICENSE(1KB)
----Gruntfile.js(753B)
----.jshintrc(167B)
----bower.json(2KB)
----package.json(3KB)
----dist()
--------persian-date.js(108KB)
--------persian-date.min.js(36KB)
----src()
--------algorithms.js(18KB)
--------astro.js(19KB)
--------constants.js(434B)
--------fa.js(2KB)
--------en.js(2KB)
--------type-checking.js(467B)
--------validator.js(637B)
--------pDate.js(37KB)
--------duration.js(2KB)
--------init.js(205B)
--------helpers.js(3KB)
--------on.js(2KB)
----doc()
--------leapyear.md(2KB)
--------document.md(24KB)
----.travis.yml(990B)
----webpack.config.js(1KB)
----yarn.lock(309KB)
----.eslintrc.json(484B)
----.markdown-doctest-setup.js(167B)