[fpc-devel] StrToDateTime issue

Joao Morais post at joaomorais.com.br
Thu May 29 20:13:15 CEST 2008


Michael Van Canneyt wrote:
> 
> On Thu, 29 May 2008, Joao Morais wrote:
> 
>> Hello,
>>
>> Performing some tests with date and time routines I discovered that
>> StrToDateTime doesn't work if I only use time. This was designed that way or a
>> patch is welcome?
> 
> A patch is welcome.

Here it is.

This patch fixes a misbehaviour when space is left in front of the date 
or time, as well as call StrToTime if only a time is provided.

Joao Morais

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dati.inc.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080529/1923e146/attachment.ksh>


More information about the fpc-devel mailing list