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

modify HOUR_OF_DAY and TimeZone code #325

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

yeojoy
Copy link

@yeojoy yeojoy commented Jul 26, 2021

getHour and getHourOfDay both are using Calendar.HOUR.
So when I set isAmPm is false afternoon, it always shows
between 1 and 12.

Yeojong added 2 commits July 26, 2021 11:30
getHour and getHourOfDay both are using Calendar.HOUR.
So when I set isAmPm is false afternoon, it always shows
between 1 and 12.
When sets a timezone into DatePicker, it does not take it.
Because SingleDateAndTimePicker does not refresh dateHelper
objects at each WheelViews.
So add 3 lines codes for update them.
@yeojoy
Copy link
Author

yeojoy commented Aug 9, 2021

I add one more fix to resole an issue of TimeZone.

@yeojoy yeojoy changed the title modify HOUR_OF_DAY modify HOUR_OF_DAY and TimeZone code Aug 9, 2021
yeojoy and others added 5 commits August 17, 2022 17:54
With isAmPm is true, I open time picker. Before noon, it is ok.
However afternoon, hour is fixed with 11.
After select an hour then open it, this case, the hour is

fixed.

I just update default vaule when call setIsAmPm in WheelHourPicker.

I think at 13:00, and isAmPm true, defaultValue should be 1.
With isAmPm is true, I open time picker. Before noon, it is ok.
However afternoon, hour is fixed with 11.
After select an hour then open it, this case, the hour is
fixed.

I just update default vaule when call setIsAmPm in WheelHourPicker.

I think at 13:00, and isAmPm true, defaultValue should be 1.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant