[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52256] Time zones are not handled correctly
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #52256] Time zones are not handled correctly |
Date: |
Fri, 20 Oct 2017 11:22:32 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko |
URL:
<http://savannah.gnu.org/bugs/?52256>
Summary: Time zones are not handled correctly
Project: GNU Octave
Submitted by: None
Submitted on: Fri 20 Oct 2017 03:22:30 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Risto Vanhanen
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.1
Operating System: Microsoft Windows
_______________________________________________________
Details:
Hello,
gmtime -function seems to not set time zone correctly, and localtime -function
seems to not set offset to gmt correctly.
Best regards,
Risto Vanhanen
>> t=time(), localtime(t), gmtime(t)
t = 1.5085e+009
ans =
scalar structure containing the fields:
usec = 709403
sec = 42
min = 10
hour = 17
mday = 20
mon = 9
year = 117
wday = 5
yday = 292
isdst = 1
gmtoff = 0
zone = FLE Daylight Time
ans =
scalar structure containing the fields:
usec = 709403
sec = 42
min = 10
hour = 14
mday = 20
mon = 9
year = 117
wday = 5
yday = 292
isdst = 0
gmtoff = 0
zone = FLE Standard Time
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52256>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52256] Time zones are not handled correctly,
anonymous <=