Thank you Marco, works perfectly.
Russell
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
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 lo
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:
> > 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
> >
On 28/06/2016 04:55, Russ Davies wrote:
Hi,
My local time zone is GMT +2, and have noticed that with V3.0.0, that
the LocalTimeToUniversal() function is adding the offset instead of
subtracting it:
FPC 3.0.0 produces incorrect results.
FPC 3.0.1 r34023 and FPC 3.1.1 r34024 produce correct r
El 29/06/2016 a las 22:35, vfclists . escribió:
Does this have to do with some questionable Microsoft formulae which
prompted this query -
http://stackoverflow.com/questions/2779948/subroutine-to-apply-daylight-bias-to-display-time-in-local-dst
Hello,
Only Now() can be converted to UTC using
On 29 June 2016 at 19:51, wrote:
> 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.
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
On 29/6/2016 7:09 μμ, 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
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 --
On Tue, 28 Jun 2016, wkitt...@windstream.net wrote:
On 06/28/2016 03:18 AM, Michael Van Canneyt wrote:
On Tue, 28 Jun 2016, Russ Davies wrote:
[...]
Comparing dateutil.inc for both versions, in functions
UniversalTimeToLocal()
and LocalTimeToUniversal() the signs of the offsets have been c
On 06/28/2016 03:18 AM, Michael Van Canneyt wrote:
On Tue, 28 Jun 2016, Russ Davies wrote:
[...]
Comparing dateutil.inc for both versions, in functions UniversalTimeToLocal()
and LocalTimeToUniversal() the signs of the offsets have been changed
Correct. This was in response to some bugreports
On 06/27/2016 11:55 PM, Russ Davies wrote:
Hi,
My local time zone is GMT +2, and have noticed that with V3.0.0, that the
LocalTimeToUniversal() function is adding the offset instead of subtracting it:
i get the same over here...
Comparing dateutil.inc for both versions, in functions Universa
Dňa 28.6.2016 o 9:18 Michael Van Canneyt napísal(a):
On Tue, 28 Jun 2016, Russ Davies wrote:
Hi,
My local time zone is GMT +2, and have noticed that with V3.0.0, that
the LocalTimeToUniversal() function is adding the offset instead of
subtracting it:
uses sysutils, dateutils;
var
Local
On Tue, 28 Jun 2016, Russ Davies wrote:
Hi,
My local time zone is GMT +2, and have noticed that with V3.0.0, that the
LocalTimeToUniversal() function is adding the offset instead of subtracting
it:
uses sysutils, dateutils;
var
LocalTime: TDateTime;
begin
LocalTime := Now();
writeln('
Hi,
My local time zone is GMT +2, and have noticed that with V3.0.0, that
the LocalTimeToUniversal() function is adding the offset instead of
subtracting it:
uses sysutils, dateutils;
var
LocalTime: TDateTime;
begin
LocalTime := Now();
writeln('Offset :', GetLocalTimeOffset());
w
15 matches
Mail list logo