changed format in show routine in case the LOCALE isnt Y2K compliant

This commit is contained in:
Jeff Hill committed 1999-08-10 20:33:26 +00:00
1 parent 4bf41e59ea
commit c7437dfcb2
1 file changed
+1 -1
+1 -1
View File
@@ -347,7 +347,7 @@ void osiTime::show (unsigned) const
char bigBuffer[256];
tm_nano_sec tmns = *this;
status = strftime (bigBuffer, sizeof(bigBuffer), "%c", &tmns.ansi_tm);
status = strftime (bigBuffer, sizeof(bigBuffer), "%a %b %d %H:%M:%S %Y", &tmns.ansi_tm);
if (status>0) {
printf ("osiTime: %s %f\n", bigBuffer,
static_cast <double> (tmns.nsec) / nSecPerSec);