[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65219] datenum/datestr/datevec: Inconsistent
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #65219] datenum/datestr/datevec: Inconsistent behavior for '' input |
Date: |
Wed, 31 Jan 2024 18:32:11 -0500 (EST) |
Update of bug#65219 (group octave):
Status: None => Wont Fix
_______________________________________________________
Follow-up Comment #5:
The soon-to-be-released Octave 9.1 emits an error for empty input. For
example,
datenum ('')
error: datevec: none of the standard formats match the DATE string
error: called from
datevec at line 160 column 11
datenum at line 168 column 46
This seems like perfectly fine behavior since it isn't clear what Octave
should do. It could, as it did in earlier releases, default to a start of
epoch date. But why should it guess? As Matlab points out in their warning,
they also don't think empty input is valid and will be changing Matlab
behavior in the future.
I'm marking as Won't Fix unless there is a compelling argument I'm not seeing.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65219>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/