Skip to content
New issue

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

improve separatorChars option in README file #70

Merged
merged 2 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Key | Default | Description
`autoHide` | true: bool | Auto hide after click out of datepicker or input
`hideAfterChange` | true: bool | hide after choose a dateTime
`useDropDownYears` | true: bool | Can choose year with Dropdown
`separatorChars` | date,between,time | Separator between date and time as well as between year, month, and day
`separatorChars(option)` | date: `'/'` <br/> between: `' '` <br/> time: `':'` | Separator between year, month, day <br/> Separator between date and time <br/>Separator between hour, min, sec
`persianDigits` | false: bool | replacing English letters with Persian Unicode characters
`minDate` | `null`: string | Date minimum specifier. It is the current day if it equals `today`. If not, it is equivalent to the `data-attribute-jdp-min-date`
`maxDate` | `null`: string | Date maximum specifier. It is the current day if it equals `today`. If not, it is equivalent to the `data-attribute-jdp-max-date`
Expand Down Expand Up @@ -186,4 +186,4 @@ jalaliDatepicker.startWatch({



## [Changelog](/ChangeLog-en.md)
## [Changelog](/ChangeLog-en.md)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ key | default | description
`autoHide` | true | مخفی شدن خودکار هنگام کلیک خارج دیتپیکر یا اینپوت
`hideAfterChange` | true | مخفی شدن بعد از انتخاب تاریخ
`useDropDownYears` | true | انتخاب سال به صورت DropDown
`separatorChars` | date,between,time | جداکننده بین سال، ماه و روز و بین تاریخ و زمان
`separatorChars(object)` | date: `'/'` <br/> between: `' '` <br/> time: `':'` | جداکننده بین سال، ماه و روز<br/>جداکننده بین تاریخ و زمان<br/>جداکننده بین ساعت، دقیقه و ثانیه
`persianDigits` | false | استفاده از کارکترهای یونیکد فارسی به جای کارکترهای انگلیسی
`minDate` | null | مشخص کننده حداقل تاریخ. در صورتی که برابر با `today` باشد `روز جاری` است. در صورتی که برابر با `attr` باشد برابر با مقدار `data-jdp-min-date` attrubute است
`maxDate` | null | مشخص کننده حداکثر تاریخ. در صورتی که برابر با `today` باشد `روز جاری` است. در صورتی که برابر با `attr` باشد برابر با مقدار `data-jdp-max-date` attrubute است
Expand Down