浏览代码

* LongdateFormat equals shortdateformat (no longdateformat is available in langinfo) Bug #19616.

git-svn-id: trunk@17914 -
michael 14 年之前
父节点
当前提交
e357dc3fb9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/unix/clocale.pp

+ 1 - 1
rtl/unix/clocale.pp

@@ -248,7 +248,7 @@ begin
  
  
   fmts.DateSeparator := FindSeparator(fmts.ShortDateFormat, fmts.DateSeparator);
   fmts.DateSeparator := FindSeparator(fmts.ShortDateFormat, fmts.DateSeparator);
   fmts.ShortDateFormat := TransformFormatStr(fmts.ShortDateFormat);
   fmts.ShortDateFormat := TransformFormatStr(fmts.ShortDateFormat);
-  fmts.LongDateFormat := GetLocaleStr(D_T_FMT);
+  fmts.LongDateFormat := GetLocaleStr(D_FMT);
 {$ifdef localedebug}
 {$ifdef localedebug}
   OrgFormatSettings.LongDateFormat:=fmts.longdateformat;
   OrgFormatSettings.LongDateFormat:=fmts.longdateformat;
 {$endif}
 {$endif}