On Fri, Sep 17, 2010 at 3:37 PM, Dibo <dib...@wp.pl> wrote: > I am surprised that Free Pascal does not have so basic function. Should > I post it on mantis as proposition?
Probably (unless it already exists), but I think your design could be improved. More precisely: Add a function GetLocalTimeOffset() and make it's contents be completely ifdefed, only keep the header the same for windows and linux, so that it matches better how FPC implements it's functions. Now function UniversalTimeToLocal should be fully cross-platform and require no ifdefs -- Felipe Monteiro de Carvalho -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus