Skip to content
Snippets Groups Projects
Commit 922963a1 authored by rswindell's avatar rswindell
Browse files

Updated for Y2K.

parent d76972cb
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ else {
hour=gm->tm_hour;
strcpy(mer,"am"); }
sprintf(str,"%s %s %02d %4d %02d:%02d %s"
,wday[gm->tm_wday],mon[gm->tm_mon],gm->tm_mday,1900+gm->tm_year
,wday[gm->tm_wday],mon[gm->tm_mon],gm->tm_mday,gm->tm_year%100
,hour,gm->tm_min,mer);
return(str);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment