[Lazarus] Extended format codes in FormatDateTime

Michael Van Canneyt michael at freepascal.org
Fri May 16 10:59:15 CEST 2014



On Fri, 16 May 2014, Marco van de Voort wrote:

> On Fri, May 16, 2014 at 01:19:15AM +0200, Werner Pamler wrote:
>> In BugTracker, #0026168, I posted a patch to FormatDateTime which allows
>> to use hour, minute, or second format codes in square brackets.
>
> Using new special characters instead of building on existing escape
> characters is incompatible.

This could be remedied with a FormatDateTimeEx() or else a 
FormatDateTime(Fmt,date,AllowExtendedFormatting: Boolean = False)

Michael.




More information about the Lazarus mailing list