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

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

[Octave-bug-tracker] [bug #46171] datevec fails with FFF and PM


From: Nick Jankowski
Subject: [Octave-bug-tracker] [bug #46171] datevec fails with FFF and PM
Date: Sun, 11 Oct 2015 03:39:21 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #3, bug #46171 (project octave):

appears that at line 257 strptime fails to match ds to format f, so returns
nc=0. this makes it skips over the 'msec' kludge and the next loop as well,
then return false for found, which calls the error.

it appears that when the .FFF is stripped out of the format string, the . is
left.  if the fractional seconds are added as a string to format, as is done
in the line 258 if block, then things work. 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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