Re: [fpc-devel] Date and Time formatting via locale settings doesn't work under FPC 2.2.0

2008-03-10 Thread Tomas Hajny
On Mon, March 10, 2008 14:33, Michael Van Canneyt wrote: > On Mon, 10 Mar 2008, Graeme Geldenhuys wrote: . . > The section on 'Localization support' in the sysutils documentation > mentions > that: > > Localization support depends on various constants and structures being > initialized correctly.

Re: [fpc-devel] Date and Time formatting via locale settings doesn't work under FPC 2.2.0

2008-03-10 Thread Graeme Geldenhuys
On 10/03/2008, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > The locale/region information is ignored by default. I have a unit that loads > this > information using Libc or the KDE settings, but it is not an option to > have this in sysutils by default, since it introduces a dependency on

Re: [fpc-devel] Date and Time formatting via locale settings doesn't work under FPC 2.2.0

2008-03-10 Thread Michael Van Canneyt
On Mon, 10 Mar 2008, Graeme Geldenhuys wrote: > Hi, > > Reading the documentation about DateToStr() and DateTimeToStr(), it > mentions that it takes the locale and regional settings in > consideration when formatting the date and time. I have a Linux PC > that used the USA location at setup. A

[fpc-devel] Date and Time formatting via locale settings doesn't work under FPC 2.2.0

2008-03-10 Thread Graeme Geldenhuys
Hi, Reading the documentation about DateToStr() and DateTimeToStr(), it mentions that it takes the locale and regional settings in consideration when formatting the date and time. I have a Linux PC that used the USA location at setup. A Linux PC that has South Africa as location (also specified i