[fpc-devel] FPC V3.0.0 LocalTimeToUniversal() error

wkitty42 at windstream.net wkitty42 at windstream.net
Wed Jun 29 20:51:10 CEST 2016


On 06/29/2016 12:09 PM, Henry Vermaak wrote:
> On Tue, Jun 28, 2016 at 10:56:30AM +0200, Michael Van Canneyt wrote:
>> FPC 3.0 indeed contains a bug. This has meanwhile been fixed.
>>
>> If I compile the program with trunk, I get:
>>
>> home: >fpc tt.pp
>> home: >./tt
>> Offset     :-120
>> Local Time :10:53:16
>> UTC        :08:53:16
>> home: >date --utc
>> Tue Jun 28 08:53:25 UTC 2016
>> home: >date Tue Jun 28 10:53:29 CEST 2016
>>
>> So the output is correct in trunk, and the bug has been fixed. I expect the
>> fix to be in 3.0.2.
>
> It doesn't look like this fix (r31356) has been merged into fixes_3_0,
> or am I missing something?


it doesn't look right over here, either...

./timetest.2.6.4
Offset     :240
Local Time :14:50:18
UTC        :18:50:18

./timetest.3.0.0
Offset     :240
Local Time :14:50:18
UTC        :10:50:18

./timetest.3.0.1
Offset     :240
Local Time :14:50:18
UTC        :10:50:18

./timetest.3.1.1
Offset     :240
Local Time :14:50:18
UTC        :18:50:18

date --utc
Wed Jun 29 18:50:18 UTC 2016


-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.



More information about the fpc-devel mailing list