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

Add notes about multiple dates and examples for update method #2060

Merged

Conversation

Azaret
Copy link
Contributor

@Azaret 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.
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kk

@acrobat
Copy link
Member

acrobat commented Nov 11, 2016

Just one little comment, extra info looks good!

@acrobat
Copy link
Member

acrobat commented Nov 11, 2016

Thanks @Azaret

@acrobat acrobat merged commit fe7399b into uxsolutions:master Nov 11, 2016
@Azaret
Copy link
Contributor Author

Azaret commented Nov 11, 2016

Thank to you @acrobat 😉

@@ -39,17 +39,21 @@ update

Arguments:

* date (String|Date|Array, optional)
* date (String|Date, optional)
Copy link
Member

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).

Copy link
Contributor Author

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.

@acrobat acrobat mentioned this pull request May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Multiple Dates programmatically not working
3 participants