Y2K output tweak.
This commit is contained in:
parent
a872c40389
commit
5d302f0f2a
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ get_formated_gmt_time( void )
|
||||||
static char buf[32];
|
static char buf[32];
|
||||||
FGTime *t = FGTime::cur_time_params;
|
FGTime *t = FGTime::cur_time_params;
|
||||||
const struct tm *p = t->getGmt();
|
const struct tm *p = t->getGmt();
|
||||||
sprintf( buf, "%d/%d/%2d %d:%02d:%02d",
|
sprintf( buf, "%d/%d/%4d %d:%02d:%02d",
|
||||||
p->tm_mon+1, p->tm_mday, p->tm_year,
|
p->tm_mon+1, p->tm_mday, 1900 + p->tm_year,
|
||||||
p->tm_hour, p->tm_min, p->tm_sec);
|
p->tm_hour, p->tm_min, p->tm_sec);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue