On Sat, Jan 16, 2016 at 5:29 AM, Sven Barth <pascaldra...@googlemail.com>
wrote:
[...]

> I have not looked at the code, but from your results I'd say that we round
> the value while others truncate them. At least in this context truncate
> appears more correct though... (don't know if there is one where rounding
> would be more correct)
>
The truncation should be disabled by default, but allowing to disable it
via some flag. It would make the FPC date format function compatible with
Delphi and many other compilers and languages.

-- 
Silvio Clécio
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to