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

wkitty42 at windstream.net wkitty42 at windstream.net
Thu Jun 30 17:46:37 CEST 2016


On 06/30/2016 06:01 AM, Henry Vermaak wrote:
> On Wed, Jun 29, 2016 at 05:09:54PM +0100, Henry Vermaak wrote:
>> On Tue, Jun 28, 2016 at 10:56:30AM +0200, Michael Van Canneyt wrote:
[...]
>>> 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?
>
> Thanks Marco for merging it last night.

yes! excellent!

./timetest.2.6.4
Offset     :240
Local Time :11:44:21
UTC        :15:44:21

./timetest.3.0.0
Offset     :240
Local Time :11:44:21
UTC        :07:44:21

./timetest.3.0.1
Offset     :240
Local Time :11:44:21
UTC        :15:44:21

./timetest.3.1.1
Offset     :240
Local Time :11:44:21
UTC        :15:44:21

date --utc
Thu Jun 30 15:44:21 UTC 2016


wrong time calculations are very bad for tracking space born objects ;)

-- 
  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