Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Commit 031f358

Browse files
committed
Update README.md
1 parent 727a60a commit 031f358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Option | Type | Default | Description
7979
date-set="" | String | false | Set a default date to show and init datepicker
8080
| | | **tip:** _Do not use same scope for ng-model="date" and date-set="{{date}}", this example is wrong._
8181
| | | **tip:** _If you want to pass a Date Object inside do like this date-set="{{newDateObject.toString()}}"_
82-
| | | **tip:** _Consider that `date-set="{{myDate}}"` equals to `new Date(attr.dateSet)`, be sure the date you pass inside date-set="31/11/2017" is always in a correct ISO format, or adjust it based on the browser locale to avoid problems with that."._
82+
| | | **tip:** _Consider that `date-set="{{myDate}}"` equals to `new Date(attr.dateSet)`, be sure the date you pass inside date-set="" is always in a correct ISO format, or adjust it based on the browser locale to avoid problems with that."._
8383
date-format="" | String | String(new Date()) | Set the date format you want to use, see the list [here](https://docs.angularjs.org/api/ng/filter/date)
8484
| | | **tip:** _Be always sure to use a recognized format, maybe try first of all to pass it through new Date('...') and see if it's recognized_
8585
date-min-limit="" | String | false | Set a minimum date limit - you can use all the accepted date formats by the javascript `new Date()`

0 commit comments

Comments
 (0)