diff scripts/time/datevec.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 277d891afae2
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/time/datevec.m	Sun Jan 09 16:01:05 2011 -0800
+++ b/scripts/time/datevec.m	Sun Jan 09 21:33:04 2011 -0800
@@ -128,7 +128,7 @@
           endif
         endfor
         if (! found)
-          error ("datevec: none of the standard formats match the date string");
+          error ("datevec: none of the standard formats match the DATE string");
         endif
       endfor
     else
@@ -137,7 +137,7 @@
       for k = 1:nd
         [found y(k) m(k) d(k) h(k) mi(k) s(k)] = __date_str2vec__ (date{k}, p, f, rY, ry, fy, fm, fd, fh, fmi, fs);
         if (! found)
-          error ("datevec: date not parsed correctly with given format");
+          error ("datevec: DATE not parsed correctly with given format");
         endif
       endfor
     endif