-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Add notes about multiple dates and examples for update method #2060
Add notes about multiple dates and examples for update method #2060
Conversation
Azaret
commented
Nov 10, 2016
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Related tickets | fixes #2038 |
If ``date`` is provided and is a Date object, it is assumed to be a "local" date object, and will be converted to UTC for internal use. | ||
Update the datepicker with given arguments or the current input value. | ||
The arguments can be either an array of strings, an array of Date objects, multiples strings or multiples Date objects. | ||
If ``date`` arguments are provided and are Date objects, it is assumed to be "local" Date objects, and will be converted to UTC for internal use. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and _they_ are Date objects
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kk
Just one little comment, extra info looks good! |
Thanks @Azaret |
Thank to you @acrobat 😉 |
@@ -39,17 +39,21 @@ update | |||
|
|||
Arguments: | |||
|
|||
* date (String|Date|Array, optional) | |||
* date (String|Date, optional) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Azaret I think that you want to delete this line and leave * date (String|Date|Array, optional)
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well I wasn't sure how to show the fact that date is *args
for string
and Date
. But not when Array
.