[fpc-devel] NowUTC in FPC

Denis Kozlov dezlov at gmail.com
Mon Aug 1 11:31:53 CEST 2016


On 01/08/2016 07:59, Michael Van Canneyt wrote:
> But that would create duplicated code of LocalTimeToUniversal, 
> UnixToDateTime, IncMilliSecond functions in SysUtils and DateUtils.
>
> So what ? It is essentially A+B*C or some variant of that.

I try to avoid code duplication, which unnecessarily increases 
maintenance efforts.

> Since you seem reluctant, no problem, I will do it myself.

I'm asking for guidance to make sure I do it the right way.

Is it really so bad to include DateUtils in RTL?

Denis



More information about the fpc-devel mailing list