diff src/load-save.cc @ 9947:31436dcf7d0f

call nstrftime, not my_strftime
author John W. Eaton <jwe@octave.org>
date Wed, 09 Dec 2009 02:20:30 -0500
parents 55061c7c8d6e
children cd96d29c5efa
line wrap: on
line diff
--- a/src/load-save.cc
+++ b/src/load-save.cc
@@ -1184,8 +1184,8 @@
 	bdt = *gmtime (&now);
 	memset (headertext, ' ', 124);
 	// ISO 8601 format date
-	my_strftime (headertext, 124, "MATLAB 5.0 MAT-file, written by Octave "
-		     OCTAVE_VERSION ", %Y-%m-%d %T UTC", &bdt, 1, 0);
+	nstrftime (headertext, 124, "MATLAB 5.0 MAT-file, written by Octave "
+                   OCTAVE_VERSION ", %Y-%m-%d %T UTC", &bdt, 1, 0);
 
 	// The first pair of bytes give the version of the MAT file
 	// format.  The second pair of bytes form a magic number which