Page 1 of 1
MobilePickDate
Posted: Sun Nov 04, 2012 7:39 pm
by GoneToSail
1. It seems that any call of the MobilePickDate function displays a pick wheel which is not aware of the twelveHourTime property ! For instance, even if the twelveHourTime property is set to false, the pick wheel displays something like 1 34 PM, and not 13 34. Is there any way to obtain a 24 h format ?
2. I also need that the MobilePickDate dialog can display the time with seconds, not only hours and minutes. For instance I would like to display a pick wheel like "Today 14 34 30" when it is 14 h 34 min 30 secs. Unfortunately I could not find the syntax to obtain this feature. Would anyone know the magic trick ?
Re: MobilePickDate
Posted: Mon Nov 05, 2012 4:38 am
by jacque
I thought iOS automatically displayed the pickwheel according to the user's date/time preference settings.
You could probably use the mobilePick command to set up a multi-column pick wheel that includes seconds. You could also use mobilePick to set up a time pickwheel that always uses 24-hour time, though unless your app depends on it, some users may not be very happy about that.
Re: MobilePickDate
Posted: Mon Nov 05, 2012 10:07 am
by GoneToSail
Thanks Jacqueline.
I did not know so well those "pick" functions, and I will follow your advice to use mobilePick instead.
And I hope that the twelveHourTime property will be taken into account by MobilePickDate in a future release...
Again, thanks for your quick reply !
Re: MobilePickDate
Posted: Thu Nov 08, 2012 3:35 pm
by Adrian
One thing you always need to check is whether a particular command is supported on the platform you are developing for, as not all are. In this case, twelve HourTime is not supported on mobile platforms, as the Dictionary shows. (Presumably the reason for this is as Jacque says: the user's settings on the device determine the time frmat).
(For future reference, there is a specific forum for iOS and for Android, where questions like this should go).
Cheers,
Adrian
Re: MobilePickDate
Posted: Thu Nov 08, 2012 4:35 pm
by Klaus
For future reference, there is a specific forum for iOS and for Android, where questions like this should go.
Noone (except you

) actually cares about this fact, so I gave up giving hints and moving these threads to the corerect forum a couple of months ago...
