|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #60107] datenum : 1 day missing from output? |
Date: | Wed, 24 Feb 2021 12:24:16 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Update of bug #60107 (project octave): Status: None => Confirmed Operating System: Microsoft Windows => Any _______________________________________________________ Follow-up Comment #1: Confirmed. Changing the OS to "Any" as I see the same behavior on Linux. This certainly seems like an off-by-1 sort of error. Here is a slightly simpler example datenum ('2000', 'YYYY') ans = 730485 octave:29> datevec (ans) ans = 1999 12 31 0 0 0 So datenum is returning 12/31/1999 when it should return 1/1/2000. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60107> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |