-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
fix(datetime): recalculate day column when month is changed #17815
Conversation
When we go to merge this, can we add @KillerCodeMonkey and @olivercodes as co-authors if this is going to close their PRs? https://help.github.com/en/articles/creating-a-commit-with-multiple-authors |
Co-Authored-By: liamdebeasi <liamdebeasi@users.noreply.github.com>
@liamdebeasi @brandyscarney nice this topic is on its way 🚀 If i can support you here, let me know :) |
@KillerCodeMonkey Thank you! 🙂 So we found a bug with this PR but we're scheduled to release today so we aren't going to get this in today's release, but we're going to do our normal release and then release a |
ah okay. so if you need help to solve the bug or need someone to test it 😉 . |
@@ -325,6 +325,7 @@ export class Datetime implements ComponentInterface { | |||
text: this.cancelText, | |||
role: 'cancel', | |||
handler: () => { | |||
this.updateDatetimeValue(this.value); |
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.
@liamdebeasi thats why i stored the changed value on an internal State in my PR (only as an info) :)
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.
Makes sense! I'd just rather reset it than store two copies of data that could potentially differ
Aye! :)
Liam DeBeasi <notifications@github.com> schrieb am Mi., 20. März 2019,
18:04:
… ***@***.**** commented on this pull request.
------------------------------
In core/src/components/datetime/datetime.tsx
<#17815 (comment)>:
> @@ -325,6 +325,7 @@ export class Datetime implements ComponentInterface {
text: this.cancelText,
role: 'cancel',
handler: () => {
+ this.updateDatetimeValue(this.value);
Makes sense! I'd just rather reset it than store two copies of data that
could potentially differ
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17815 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACKOYHf32QKTsHGtYDT-ABpbHbPXttJUks5vYmougaJpZM4b6nee>
.
|
Yeeeeeees!
Liam DeBeasi <notifications@github.com> schrieb am Do., 21. März 2019,
13:52:
… Merged #17815 <#17815> into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17815 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACKOYMHtTZVKK3do-Zm9UK3uAzXV6t9Nks5vY4CAgaJpZM4b6nee>
.
|
…17815) Co-Authored-By: KillerCodeMonkey <bengtler@gmail.com> Co-Authored-By: olivercodes <boliver@linux.com> Co-Authored-By: liamdebeasi <liamdebeasi@users.noreply.github.com>
I was missing a space when adding your name/email for co-authors so I'm going to revert and try it again 🙂 |
Lols :). AS you wish. But i am not here for the fame *disappears in a magic
fog of stardust
Liam DeBeasi <notifications@github.com> schrieb am Do., 21. März 2019,
13:58:
… I was missing a space when adding your name/email for co-authors so I'm
going to revert and try it again 🙂
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17815 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACKOYNLLRZXvImdXcGW6t8QruBuCJyF2ks5vY4HrgaJpZM4b6nee>
.
|
How use in Ionic? |
Hi there, Please visit the Ionic DateTime Documention for instructions on how to use this component. Thanks! |
Thank you for the co-author marks @liamdebeasi @brandyscarney, much appreciated |
…onic-team#17815) Co-Authored-By: KillerCodeMonkey<bengtler@gmail.com> Co-Authored-By: olivercodes <boliver@linux.com> Co-Authored-By: liamdebeasi <liamdebeasi@users.noreply.github.com>
…hanged (ionic-team#17815)" (ionic-team#17845) This reverts commit 9273f97.
Short description of what this resolves:
This PR is meant to combine the changes proposed by #17562 and #14434 and to clean up the code a bit. Additionally, this PR also introduces more tests
Changes proposed in this pull request:
onIonPickerColChange
event toion-picker-column
to allow the datetime component to be aware of the need to recalculate day valuesion-picker-column
Ionic Version:
Fixes:
#14233
#14732
#15452
#15794
#16733
#17060
#17510
#17521