PersianDate
PersianDate copied to clipboard
javascript date library for parsing, validating, manipulating, and formatting persian dates System.
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. Commits See full diff in compare view Maintainer changes This version was pushed to npm by oss-bot, a new releaser for y18n since your...
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.1 to 6.5.4. Commits 43ac7f2 6.5.4 f4bc72b package: bump deps 441b742 ec: validate that a point before deriving keys e71b2d9 lib: relint using eslint 8421a01 build(deps): bump...
just write it to console : var d = new persianDate([1391]); d.format(); //"۱۳۹۱-۰۱-۰۱ ۰۰:۰۰:۰۰ ق ظ" window.formatPersian = false; d.format(); //"1391-01-01 00:00:00 AM" return persian : "۱۳۹۱-۰۱-۰۱ ۰۰:۰۰:۰۰ ق ظ"
## Expected Behavior var pd = $('.selector').persianDatepicker(); should get instance of current persianDatepicker(); ## Current Behavior Rerender persianDatepicker with default options, for example format will change to LLLL ## Possible...
سلام وقت بخیر در بخش range selector امکان استفاده از زمان(ساعت.دقیقه.ثانیه) بهمراه تاریخ هست؟ در واقع منظور من کنترل و چک کردن بروی انتخاب و تغییر ساعت با توجه به...
Hi dear @babakhani as explained in title, please check it: https://github.com/babakhani/PersianDate/blame/master/dist/persian-date.js#L1323
Hi dear Babakhani **First**, thanks for this useful library. **Second:** I have an **String** input like this: ``1399-02-10`` It should be **Parse** from value of a ``
Please add support for @types package for typescript typescript gives error on import `Could not find a declaration file for module 'persian-date'.` you have to add types to this project...
new persianDate.unix(timestamp) This function is missing in type declaration file (.d.ts) and compiler gives me error about it. What should I add to which interface?
I think there is a bug in `.hour(number)`: `new persianDate([1397,1 ,1 , 2]).hour(0).format()` Should return **"۱۳۹۷-۰۱-۰۱ ۰۰:۰۰:۰۰ ق ظ"** But returns **۱۳۹۷-۰۱-۰۱ ۰۲:۰۰:۰۰ ق ظ** (same as input) Same issue...