Skip to content

win: fix default ShortDateFormat and LongDateFormat + DateTimeToString: do not write #0 separators

Ondrej Pokorny requested to merge (removed):main into main

#1 Delphi compatibility issue: TFormatSettings.DateSeparator is ignored.

The reason is that ShortDateFormat and LongDateFormat use the real date separator instead of the '/' placeholder.

#2 Delphi compatibility issue: do not write #0 separators

Sorry I included 2 patches into a merge request - I am new to Git and forgot to create a local branch first :/

Test project: ZeroSeparators.lpr

Merge request reports