mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 13:11:24 +02:00
* set ShortDateFormat explicitly so that StrToDate behaviour can be tested easily regardless of current locale
git-svn-id: trunk@29703 -
This commit is contained in:
parent
c5c2ac13e2
commit
46bfe5c1dd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user