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
Android timepicker always open the current time #363
Conversation
@@ -0,0 +1,6 @@ | |||
<component name="InspectionProjectProfileManager"> |
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.
Please remove all the .idea/
files.
const now = new Date(); | ||
const isDate = locals.value && locals.value instanceof Date; | ||
let setTime = { | ||
hour: (isDate) ? locals.value.getHours() : now.getHours(), |
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.
Can you format your code to 2 space tabs?
@gcanti seems good to merge for me. Also, @francescjimenez would like to help us maintain the library. |
@francescjimenez could you please squash the commits? |
nice thanks! ;) |
I'm having this problem guys. At which version this has been fixed? |
In the last version is solved |
Which is? I'm using 0.6.9. |
Sorry, it was my mistake. Solved now. |
Expected behaviour
When edit time, android time picker must show the time based on the time of the data
Actual behaviour
Android date picker always show the current time
Solution
Change file datepicker.android.js