mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:49:26 +02:00
tests: fix test to run on all locales
git-svn-id: trunk@14488 -
This commit is contained in:
parent
0d57b2d8da
commit
4a5fab9c70
@ -33,6 +33,7 @@ begin
|
||||
currentDt := EncodeDateTime(1899, 12, 29, 6, 0, 0, 0);
|
||||
convertedDt := EncodeDateTime(1899, 12, 30, 6, 0, 0, 0);
|
||||
writeln(currentDt:0:4,' - ',convertedDt:0:4);
|
||||
DateSeparator := '-'; // further test assumes we have '-' as a date separator
|
||||
s1:=FormatDateTime('mm/dd/yyyy HH:nn:ss', currentDt);
|
||||
s2:=FormatDateTime('mm/dd/yyyy HH:nn:ss', convertedDt);
|
||||
writeln(s1);
|
||||
|
Loading…
Reference in New Issue
Block a user