nileshigreen / android-dateslider

Automatically exported from code.google.com/p/android-dateslider
0 stars 0 forks source link

Sliders should use timezone from the Calendar used in the constructor #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Instantiate a slider using a Calendar with a different timezone from the 
default one.
2. When using the slider the date and time are shown with the default timezone 
instead of the one passed to the constructor.

What is the expected output? What do you see instead?
Expected is that the sliders use the timezone from the constructor.

What version of the product are you using? On what operating system?
1.1 on Froyo (2.2.2)

Please provide any additional information below.
I am using the sliders in an app which has to present all date/times in UTC. 
Fixed it by adding a copying of the timezone from mTime to all internally used 
Calendars.

Original issue reported on code.google.com by tvoverb...@gmail.com on 26 Feb 2011 at 1:35

GoogleCodeExporter commented 9 years ago
introduced a protected variable mTimeZone that accounts for the issue

Original comment by daniel.b...@gmail.com on 5 Mar 2011 at 6:19