Переглянути джерело

* set ShortDateFormat explicitly so that StrToDate behaviour can be tested easily regardless of current locale

git-svn-id: trunk@29703 -
Tomas Hajny 10 роки тому
батько
коміт
46bfe5c1dd
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      tests/webtbs/tw3913.pp

+ 1 - 0
tests/webtbs/tw3913.pp

@@ -4,6 +4,7 @@ uses
 var
 var
   d : tdatetime;
   d : tdatetime;
 begin
 begin
+  ShortDateFormat := 'd/m/y';
   try
   try
     d:=strtodate('03'+dateseparator+'03'+dateseparator+'2033');
     d:=strtodate('03'+dateseparator+'03'+dateseparator+'2033');
   except
   except