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

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

[Octave-bug-tracker] [bug #42241] datevec() should allow partial matches


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #42241] datevec() should allow partial matches when format is specified
Date: Fri, 11 Aug 2023 20:15:23 -0400 (EDT)

Update of bug #42241 (project octave):

                  Status:         Patch Submitted => In Progress            

    _______________________________________________________

Follow-up Comment #4:

Issue is still present in octave 9.0.0 (hg id: 28562a1b2fcb)


octave:1> datevec('2013-08-01 08:00:00/xyzpdq')
error: datevec: none of the standard formats match the DATE string
error: called from
    datevec at line 145 column 11
octave:2> datevec('2013-08-01 08:00:00/xyzpdq','yyyy-mm-dd HH:MM:SS')
error: datevec: DATE not parsed correctly with given format
error: called from
    datevec at line 155 column 11


in matlab 2023a:


>>  datevec('2013-08-01 08:00:00/xyzpdq')
Error using datevec
Failed to lookup month of year.
 
>> datevec('2013-08-01 08:00:00/xyzpdq','yyyy-mm-dd HH:MM:SS')

ans =

        2013           8           1           8           0           0


supplied patch no longer applies clean to default. changing to in progress.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?42241>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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