[fpc-pascal] FileAge() issue?

silvioprog silvioprog at gmail.com
Sun Jan 17 20:01:21 CET 2016


On Sat, Jan 16, 2016 at 5:29 AM, Sven Barth <pascaldragon at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160117/65fab35c/attachment.html>


More information about the fpc-pascal mailing list