<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 29 June 2016 at 19:51,  <span dir="ltr"><<a href="mailto:wkitty42@windstream.net" target="_blank">wkitty42@windstream.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 06/29/2016 12:09 PM, Henry Vermaak wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Tue, Jun 28, 2016 at 10:56:30AM +0200, Michael Van Canneyt wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
FPC 3.0 indeed contains a bug. This has meanwhile been fixed.<br>
<br>
If I compile the program with trunk, I get:<br>
<br>
home: >fpc tt.pp<br>
home: >./tt<br>
Offset     :-120<br>
Local Time :10:53:16<br>
UTC        :08:53:16<br>
home: >date --utc<br>
Tue Jun 28 08:53:25 UTC 2016<br>
home: >date Tue Jun 28 10:53:29 CEST 2016<br>
<br>
So the output is correct in trunk, and the bug has been fixed. I expect the<br>
fix to be in 3.0.2.<br>
</blockquote>
<br>
It doesn't look like this fix (r31356) has been merged into fixes_3_0,<br>
or am I missing something?<br>
</blockquote>
<br>
<br></span>
it doesn't look right over here, either...<br>
<br>
./timetest.2.6.4<br>
Offset     :240<br>
Local Time :14:50:18<br>
UTC        :18:50:18<br>
<br>
./timetest.3.0.0<br>
Offset     :240<br>
Local Time :14:50:18<br>
UTC        :10:50:18<br>
<br>
./timetest.3.0.1<br>
Offset     :240<br>
Local Time :14:50:18<br>
UTC        :10:50:18<br>
<br>
./timetest.3.1.1<br>
Offset     :240<br>
Local Time :14:50:18<br>
UTC        :18:50:18<br>
<br>
date --utc<br>
Wed Jun 29 18:50:18 UTC 2016<span class="im"><br>
<br>
<br>
-- <br>
 NOTE: No off-list assistance is given without prior approval.<br>
       *Please keep mailing list traffic on the list* unless<br>
       private contact is specifically requested and granted.<br></span><div class=""><div class="h5">
_______________________________________________<br>
fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" rel="noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</div></div></blockquote></div><br><br clear="all"></div><div class="gmail_extra">Does this have to do with some questionable Microsoft formulae which prompted this query - <a href="http://stackoverflow.com/questions/2779948/subroutine-to-apply-daylight-bias-to-display-time-in-local-dst">http://stackoverflow.com/questions/2779948/subroutine-to-apply-daylight-bias-to-display-time-in-local-dst</a> ?<br><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com" target="_blank">http://devblog.brahmancreations.com</a></div>
</div></div>