Details
-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Won't Fix
-
Affects Version/s: Release 1.8.0.1
-
Fix Version/s: 2012 Sprint 25, 2012 Sprint 25 Core, 2013 Sprint 23, 2013 Sprint 23 API
-
Component/s: iOS
-
Labels:
-
Environment:
- Titanium Mobile 1.8.0.1 (12/22/11 13:09 fbdc96f)
- iOS 4.3.2
- iphone simulator
- MacOSX Snow Leopard
Description
Problem
Regardless of the language configured in iOS system settings, Titanium.UI.Picker is always displayed in English
Test Case
In the iOS simulator:
- Go to Settings
- General
- International
- Language > French
Run the following code, and "Today" should be displayed as "Aujourd'hui"
app.js |
Titanium.UI.setBackgroundColor('#000');
|
|
var win1 = Ti.UI.createWindow({
|
backgroundColor:'white',
|
fullscreen:false,
|
exitOnClose:true
|
});
|
|
var minDate = new Date(2011,11,1);
|
|
var maxDate = new Date(2012,11,31);
|
|
var value = new Date();
|
|
var picker = Ti.UI.createPicker({
|
type:Ti.UI.PICKER_TYPE_DATE_AND_TIME,
|
minDate:minDate,
|
maxDate:maxDate,
|
value:value
|
});
|
Ti.API.info('The current picker value is: ' + picker.value)
|
win1.add(picker);
|
|
win1.open();
|