浏览代码

* 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