Hi,

I try use this variable, but result in English:

uses SysUtils;
begin
   WriteLn(SysUtils.ShortMonthNames[1]);
end.

Out:

Jan

set | grep 'LANG' :

GDM_LANG=ru_RU.UTF-8
LANG=ru_RU.UTF-8

fpc -iW :

2.4.0-0

Description of ShortMonthNames 
(http://www.freepascal.org/docs-html/rtl/sysutils/shortmonthnames.html):

ShortMonthNames is an array with the abbreviated names of months. It is used by 
the date formatting routines. The initialization routines of the SysUtils unit 
initialize this string with a value conforming to the regional preferences of 
the user or system regional default.


Good Luck,
   Alexander.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to