octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36954] datenum converts date string incorrect


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #36954] datenum converts date string incorrectly during DST start
Date: Mon, 22 Aug 2016 19:11:18 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

Update of bug #36954 (project octave):

        Operating System:               GNU/Linux => Any                    
                 Summary: datenum and datevec convert date string incorrectly
=> datenum converts date string incorrectly during DST start

    _______________________________________________________

Follow-up Comment #9:

In bug #48858 (a duplicate of this one) I posted some examples.

After some investigation (see bug #48858) it turns out that is is only around
the time in spring that DST starts (i.e., that one hour window) that datenum
gives erroneous results. In the autumn when DST ends, datenum is OK.
So datenum "obeys" DST for one hour after DST start, after that it falls back
to non-DST time.

datevec is OK AFAICS, so I'll adapt the title to only mention datenum

Matlab consistently returns 'winter time' datenums.

Octave-3.6.4 already had this bug.

(OS => any)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36954>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]