From: Paul K. <pki...@us...> - 2005-10-10 07:15:26
|
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 |