On Fri, 1 Jun 2007, patrick feillant wrote:
> Hi,
> I have a Ubuntu 7.04 french installation, so if i type $date ---> vendredi 1
> juin 2007, 23:14:41 (UTC+0200)
> That's ok.
> In Lazarus, the variables ShortDateFormat, LongDateFormat,
> ShortMonthNames, LongMonthNames ,ShortDayNames.. are initialize in the
> sysutils initialization section, from the system parameters by the
> InitInternational routine ..
> But i always have the date in the english format, Sunday ...
> I don't resolve this problem.
> Somebody can help me to try the solution.
Hello,
This is a known problem. The problem is that the variables which control
the date/time/currency formatting in the SysUtils unit are not initialized
on Unix. This is an open issue which must still be resolved. (it takes some
work to do this, unfortunately)
I have a unit which does this for you. It checks the KDE international
settings or the C library settings. It is not included by default in SysUtils
because it creates a dependency on the C library, but I can send this
unit to you in private.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives