소스 검색

* 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
   d : tdatetime;
 begin
+  ShortDateFormat := 'd/m/y';
   try
     d:=strtodate('03'+dateseparator+'03'+dateseparator+'2033');
   except