Error in datestr.m in Octave-3.2.0 MingW

Michael Goffioul michael.goffioul at gmail.com
Tue Jun 23 15:32:23 CDT 2009


On Tue, Jun 23, 2009 at 9:30 PM, Michael
Goffioul<michael.goffioul at gmail.com> wrote:
> On Tue, Jun 23, 2009 at 9:22 PM, John W. Eaton<jwe at octave.org> wrote:
>> OK.  Does the generated config.h file for Octave define HAVE_STRFTIME?
>> You can also look at the output of
>>
>>  octave_config_info ("DEFS")
>>
>> If HAVE_STRFTIME is not defined on these systems, then the bug is
>> likely in the strftime.c that is part of Octave.  Maybe we need to
>> find a newer version.
>
> (current archive build, with MSVC)
>
> octave:4> strfind(octave_config_info ("DEFS"), 'STRFTIME')
> ans = [](1x0)

However,

octave:8> datestr(datenum(1970, 1, 1))
ans = 01-Jan-1970
octave:9> datestr(datenum(1970, 1, 2))
ans = 02-Jan-1970

Michael.



More information about the Bug-octave mailing list