[Lazarus] Lazarus 2.0 returning inconsistent formatted results of DateTimeToStr?

Joe Special at Joepgen.com
Tue Mar 12 22:41:05 CET 2019


The DateTimeToStr function returns somewhat inconsistent formatted 
results, depending on the operating system.

For "DateTimeToStr (now, DefaultFormatSettings)"

-  under Windows 10 (64), I got "12-03-2019 21:35:50"
-  under Linux Mint Sarah, I got "12-3-19 21:35:50"
-  under Raspbian Stretch, i got "12-3-19 21:35:50"

The Language Switch of the IDE, Tools -> Options ... -> General -> 
Language, was  set to "German [de]".

-- Joe



More information about the lazarus mailing list