Skip to content

Commit 9748c9c

Browse files
committed
update readme & upgrade
1 parent 2debde0 commit 9748c9c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ $rules = [
211211
the default is `false`.
212212

213213
- `separator` is a string parameter that separates the numbers in the validation rules.
214-
the default is `-`. (Allows: `/`, `|`, `-`, `_`, `*`, `.`, `,`, `space`)
214+
the default is `null`, and means does not use separator. (Allows: `/`, `|`, `-`, `_`, `*`, `.`, `,`, `space`)
215215

216216
- `withPrefix` is a boolean parameter that validate should with the prefix (IR) to the Iranian iban (Sheba). The default is `true`.
217217

UPGRADE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,14 @@ The validation rules have been significantly enhanced in version 2.0:
4646
#### New Rules
4747
- `persian_day`: Validates Persian calendar day names
4848
- `persian_month`: Validates Persian calendar month names
49+
- `persian_date_between`: Validates dates between specific Persian dates
4950
- `persian_date_between_year`: Validates dates between specific Persian years
5051
- `persian_date_between_or_equal_year`: Validates dates between or equal to specific Persian years
5152
- `persian_date_between_or_equal`: Validates dates between or equal to specific Persian dates
5253

5354
#### Renamed Rules
5455
- `shamsi_date``persian_date`
55-
- `shamsi_date_between``persian_date_between`
56+
- `shamsi_date_between``persian_date_between_year`
5657
- `ir_national_code``ir_national_id`
5758
- `ir_phone_code``ir_phone_area_code`
5859
- `ir_sheba``ir_iban`

0 commit comments

Comments
 (0)