Mercurial > hg > octave-jordi
changeset 5973:3cbefe88edc6
[project @ 2006-08-26 03:12:04 by jwe]
author | jwe |
---|---|
date | Sat, 26 Aug 2006 03:12:45 +0000 |
parents | 393babcaa877 |
children | 51684d05b4bf |
files | scripts/ChangeLog scripts/time/datenum.m src/ChangeLog src/version.h |
diffstat | 4 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2006-08-25 Alexander Barth <abarth@marine.usf.edu> + + * time/datenum.m: Allow arg to be character string. + 2006-08-25 David Bateman <dbateman@free.fr> * pkg/pkg.m (install): Verify that package name correponds to the
--- a/scripts/time/datenum.m +++ b/scripts/time/datenum.m @@ -73,8 +73,7 @@ if (nargin < 2) M = []; endif - error ("string form of dates not yet supported"); - ## [Y, M, D, h, m, s] = datevec (Y, M); + [Y, M, D, h, m, s] = datevec (Y, M); else if (nargin < 6) s = 0; endif if (nargin < 5) m = 0; endif