Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default Locale for United Kingdom



Hello,

Sorry for an ambiguities. 

I have run, thru terminal the following command:


Welcome to Darwin!
Jeff-Hoekstras-Computer:~ JeffHoekstra$ Java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_05-141.4)
Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)
Jeff-Hoekstras-Computer:~ JeffHoekstra$ cd
/Users/JeffHoekstra/Desktop/test
   Jeff-Hoekstras-Computer:~/Desktop/test JeffHoekstra$ 
Jeff-Hoekstras-Computer:~/Desktop/test JeffHoekstra$ Java
Run
Default locale is en_GB
Short  pattern  is dd/MM/yy
Medium pattern is dd-MMM-yyyy
Long   pattern is dd MMMM yyyy
Full   pattern is dd MMMM yyyy
Jeff-Hoekstras-Computer:~/Desktop/test JeffHoekstra$ 

I have set my International pref pane Language to British
English, at the top of the list, and the Date Format is
United Knigdom. The input method is British.

Unfortunately my dates continue to display inaccurately. 

When I run the same on Windows server, no problems.

Am I missing something with MacOSX?

Respectfully,

Jeff Hoekstra





On Tue, 14 Jun 2005 10:41:15 -0700, Greg Guerin
<email@hidden> wrote:
> Jeff Hoekstra wrote:
> 
> >the OS is set to Great Britian and by running a simple
> >script I can see that the locale is set to en_GB,
> however,
> >the application does not display dates in the correct
> >format.
> >
> >Can anyone provide me with a non-programatic way to
> enable
> >the locale to be set properly?
> 
> Exactly what do you mean when you say "by running a
> simple script"?  Java
> isn't a scripting language, so exactly what script are
> you running where
> you can see the locale?
> 
> Java's default Locale is set from a few system
> properties.  The values of
> those properties are set according to the primary
> language in the Languages
> list of the International pane in System Preferences.
>  See a recent similar
> posting:
> 
>
<http://lists.apple.com/archives/java-dev/2005/May/msg00724.html>
> 
> 
> If your default Java Locale really is "en_GB", then the
> problem can't be
> how to enable the correct Locale, because you're getting
> the correct
> Locale.  If the Locale is correct, the problem could be
> anything.  Please
> post a complete runnable example that shows what doesn't
> work.
> 
>   -- GG
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Default Locale for United Kingdom (From: Greg Guerin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.