Re: [mono-android] Date Format in Monodroid

2011-09-27 Thread was
Ok, Bug 1068 submitted. Given that at least one Android device I have encountered doesn't have an English(United Kingdom) locale, UK users with this device have to use the US m/d/ date format - which they are unhappy with! Is there a workround for this I wonder? Regards...Andrew -- View this

Re: [mono-android] Date Format in Monodroid

2011-09-26 Thread Jonathan Pryor
On Sep 26, 2011, at 5:33 AM, was wrote: > Thanks Glen. However, the issue I have is that my dates are always formatted > according to the Android device's 'Settings>Language & keyboard>Select > Locale' setting. The 'Settings>Date & time' format has no effect. I can't > figure out how to get the 'S

Re: [mono-android] Date Format in Monodroid

2011-09-26 Thread was
Right, the problem is that UseUserOverride is false in the following: System.Globalization.CultureInfo ci = System.Globalization.CultureInfo.InstalledUICulture; DateTimeFormatInfo dtfi = ci.DateTimeFormat; if (ci.UseUserOverride)... even when Settings>Date & time>Automat

Re: [mono-android] Date Format in Monodroid

2011-09-26 Thread was
Thanks Glen. However, the issue I have is that my dates are always formatted according to the Android device's 'Settings>Language & keyboard>Select Locale' setting. The 'Settings>Date & time' format has no effect. I can't figure out how to get the 'Settings>Date & time' format to override the loca

Re: [mono-android] Date Format in Monodroid

2011-09-25 Thread Glen Hassell
http://msdn.microsoft.com/en-us/library/az4se3k1.aspx // Display using current (en-us) culture's short date format DateTime thisDate = new DateTime(2008, 3, 15); Console.WriteLine(thisDate.ToString("d")); // Displays 3/15/2008 using System;using System.Globalization; public class Examp

[mono-android] Date Format in Monodroid

2011-09-25 Thread was
How do I make all dates display in the 'Settings>Date & Time>Select date format' date format in my app? Regards...Andrew -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Date-Format-in-Monodroid-tp4838662p4838662.html Sent from the Mono for Android mailing list ar