[TIMOB-3329] Android: format24 on picker not working
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-05-03T12:23:56.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.7.0, Sprint 2011-14 |
| Components | Android |
| Labels | android, feature, format, klist, picker, release-1.7.0, rplist |
| Reporter | Alan Leard |
| Assignee | Bill Dawson |
| Created | 2011-04-15T03:42:15.000+0000 |
| Updated | 2011-05-03T12:23:56.000+0000 |
Description
Problem
format24:false still returns 24 hour time in the picker
Test Code Tested on 1.6 and 1.7 (03/10/11) APIs 2.1 & 2.2
var win = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var picker = Ti.UI.createPicker({
top: 20,
type: Ti.UI.PICKER_TYPE_TIME,
minuteInterval: 30,
useSpinner: true
});
win.add(picker);
win.open();
Ticket Reference
http://developer.appcelerator.com/helpdesk/view/76372">http://developer.appcelerator.com/helpdesk/view/76372
I have some code that may be relevant to this, planning to submit a pull request later this week.
This is not a defect, so I removed the "defect" tag and put in "feature". This was an undocumented flag, precisely because it was an unimplemented feature. :)
Nice test app.js for QE:
Tested on Nexus One 2.3.3.