[TIMOB-1707] Date Picker off by a year on iOS 4 sdk 1.4 & 1.4.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-07-25T17:57:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | date, defect, ios, iphone, picker |
Reporter | ctredway |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:00:05.000+0000 |
Updated | 2012-07-26T22:18:55.000+0000 |
Description
Using the KS as the example, whenever you move the Date Picker from Jan 1 to Jan 2 (by moving the day-of-month up 1) for any year, the 'change' event handler's e.value.getFullYear() [and e.value.getUTCFullYear() for that matter] is off by one year.
http://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/picker_date1.js"> http://github.com/appcelerator/titanium_mobile/blob/master/demos/Ki...
Cannot reproduce in SDK 2.2.0.014b86f on iPhone Sim 5.1. Test code: