datestr bug

John W. Eaton jwe at bevo.che.wisc.edu
Wed Jul 23 16:47:46 CDT 2008


On 23-Jul-2008, Rob Mahurin wrote:

| Hello, bug-octave.
| 
| This statement
| 
| > str = datestr(day, "yyyy-mm-dd\ndddd\n");
| > printf(str);
| 
| seems to do some extra substituting:
| 
| > 2009-03-14
| > SaturSay
| 
| > 2008-11-26
| > WeWnesWay
| 
| 
| I'm running 3.0.1

I think this has been reported at least once before.  See for example

  http://www.nabble.com/datestr-weekday-strptime%2C-2-bugs--to7650360.html#a7650360

I'm not sure what the best fix is.  I would consider a patch.

jwe


More information about the Bug-octave mailing list