On Fri, 9 Dec 2011, Marco van de Voort wrote:
In our previous episode, Felipe Monteiro de Carvalho said:
On Fri, Dec 9, 2011 at 10:39 AM, Marco van de Voort <mar...@stack.nl> wrote:
I thought that discussion had established that a timezone based on
fpgettimeofday is not reliable on Linux? Yet, I see it in this patch?
In my tests it worked. What do you propose instead?
Not adding routines to crossplatform interfaces till it is demonstrated it
is properly implementable on all platforms. (or at least *nix, OSX and
Windows, with *nix having some overlap with OS X)
Crossplatform functions which are only stubs on some platforms are useless
and should not be added.
I don't see the problem.
As far as I can see, NowUTC should simply return the kernel time and not perform
the shift to local time (which Now() should do).
Surely this works on all platforms ?
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel