Mercurial > hg > octave-lyh
diff scripts/time/datenum.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | c776f063fefe |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/time/datenum.m +++ b/scripts/time/datenum.m @@ -85,7 +85,7 @@ if (nargin == 1) nc = columns (year); if (nc > 6 || nc < 3) - error ("datenum: expected date vector containing [year, month, day, hour, minute, second]"); + error ("datenum: expected date vector containing [YEAR, MONTH, DAY, HOUR, MINUTE, SECOND]"); endif second = minute = hour = 0; if (nc >= 6) second = year(:,6); endif