On 20/10/2009, Michael Van Canneyt <mich...@freepascal.org> wrote:
>
>  You make a common assumption, which is mistaken:
>  StrToDate(DateToStr(date)) generally does not work.

Crap!  And that is pretty much what the tiOPF unit test is testing for.

So why is StrToDate() so different to Delphi? In Delphi, the above
mentioned code works.

And to make matters worse, the tiOPF code is compiled with "$mode
delphi" enabled.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to