Explorar o código

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

git-svn-id: trunk@29703 -
Tomas Hajny %!s(int64=10) %!d(string=hai) anos
pai
achega
46bfe5c1dd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/webtbs/tw3913.pp

+ 1 - 0
tests/webtbs/tw3913.pp

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