[fpc-devel] Local time

Alexander Bauer alex at familie-bauer.info
Tue Mar 30 10:08:26 CEST 2010


GetLocalTimezone(fptime);

This method is pulic and is enough to calculate the new daylight saving 
offset.
Thanks for the hint.

Alex


Am 29.03.2010 10:54, schrieb Michael Van Canneyt:
>
>
> On Mon, 29 Mar 2010, Alexander Bauer wrote:
>
>> I've exact the same Problem.
>> It seems that the daylight saving offset is only calculated once on 
>> program start.
>> Is there a method to update that ?
>
> No. The InitLocalTime procedure is private to the implementation of 
> the unix
> unit. We can make it public, please post a bugreport for this.
>
> Michael.
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>




More information about the fpc-devel mailing list