On Sep 27, 2005, at 10:45 AM, Deepak Goel wrote:
>
> Forge's weekday fcn seems to be consistent with matlab. Today is
> Tuesday.
>
>
> octave:14> date
> ans = 27-Sep-2005
> octave:17> [d s]=weekday(now)
> d = 3
> s = Tue
>
>
> however, the doc seems wrong:
>
> Takes a date (in either datenum format or a string that datenum
> can parse) and returns the number for the day of the week (0 =
> "Sun", 1 = "Mon", ... , "Sat")
>
>
> The doc says that Tue is 2, whereas it is really 3, both for the fcn,
> as well as in matlab.
>
> (Attached is a also diff fix and changelog entry.)
>
>
Applied.
Thanks,
-Paul
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more.
http://solutions.newsforge.com/ibmarch.tmpl_______________________________________________
Octave-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/octave-dev