
android-dateslider - issue #5
time limits are not respected when sliding with month on datetime sliders
What steps will reproduce the problem? 1. Modify Demo to pass a minimum date to limit datetime slider 2. Slide month to the minimum date
I would expect that the time limit is respected also when sliding year like it does on sliding day or time. Instead I get different timelimit with sliding on month.
Tested on Nexus S with Android 2.3.4 and using 1.2 Date slider version.
Thank you for your work.
Comment #1
Posted on Nov 7, 2011 by Helpful CatThis seems like a rounding issue. There are simply not enough pixels in the month slider to exactly hit the right minute of the limit. A change of one pixel of the month sliders causes the time slider to move 4 hours. The DateSlider does is not "defective" in this scenario, it's just that it could deal a bit more intelligently with those borderline cases!
Status: Accepted
Labels:
Type-Enhancement
Priority-Medium