1
0
Fork 0

Y2K output tweak.

This commit is contained in:
curt 1999-12-13 21:43:53 +00:00
parent a872c40389
commit 5d302f0f2a

View file

@ -109,8 +109,8 @@ get_formated_gmt_time( void )
static char buf[32];
FGTime *t = FGTime::cur_time_params;
const struct tm *p = t->getGmt();
sprintf( buf, "%d/%d/%2d %d:%02d:%02d",
p->tm_mon+1, p->tm_mday, p->tm_year,
sprintf( buf, "%d/%d/%4d %d:%02d:%02d",
p->tm_mon+1, p->tm_mday, 1900 + p->tm_year,
p->tm_hour, p->tm_min, p->tm_sec);
return buf;
}