Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-05

StrToDateTime issue

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joao Morais

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?

Joao Morais

Reply by email

Michael Van Canneyt
to Joao Morais
Joao Morais wrote 6 lines
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.

Michael.

Reply by email

Joao Morais
to Michael Van Canneyt
Michael Van Canneyt wrote 10 lines
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

Reply by email

Joao Morais
to Joao Morais
Joao Morais wrote 8 lines
Michael Van Canneyt wrote: > > 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.

Remember.

Joao Morais

Reply by email

Michael Van Canneyt
to Joao Morais
Joao Morais wrote 11 lines
Joao Morais wrote: > Michael Van Canneyt wrote: > > > > 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. Remember.

Applied. I can't find your original mail, though.

Thanks for the patch !

Michael.

Reply by email