[Lazarus] TimeZone problem

Steve Gatenby steveg at nevets.com.au
Wed Jan 20 07:18:53 CET 2021


On 18/1/21 9:30 pm, Ondrej Pokorny wrote:
> On 18.01.2021 02:30, Steve Gatenby via lazarus wrote:
>> Would anybody be able to point me to a solution for incorrect time 
>> reading ?
>>
>> I obviously have a configuration problem between System and FPC - any 
>> pointers much appreciated :)
>>
>> Lazarus 2.1.0 r64403 FPC 3.3.1 x86_64-linux-gtk2
>
> Hello,
>
> the linux timezone information is loaded in file 
> /trunk/rtl/unix/timezone.inc
>
> You should check the functions GetTimezoneFile and ReadTimezoneFile.
>
> Ondrej
>
Thanks Ondrej (again)

I have concluded -> no idea :)

All seems to be reading correctly within fpc, just not calculating 
offsets as I would expect ?

My workaround was to create a custom zoneinfo file and use that on my 
dev system.

All working OK now, so will tentatively conclude is specific to my 
system configuration.

Regards - SteveG





More information about the lazarus mailing list