summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 6fca16a0..272dd363 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -1469,8 +1469,8 @@ static void admin_create_ban( gentity_t *ent,
Q_strncpyz( b->guid, guid, sizeof( b->guid ) );
memcpy( &b->ip, ip, sizeof( b->ip ) );
- Com_sprintf( b->made, sizeof( b->made ), "%02i/%02i/%02i %02i:%02i:%02i",
- qt.tm_mon + 1, qt.tm_mday, qt.tm_year % 100,
+ Com_sprintf( b->made, sizeof( b->made ), "%04i-%02i-%02i %02i:%02i:%02i",
+ qt.tm_year+1900, qt.tm_mon+1, qt.tm_mday,
qt.tm_hour, qt.tm_min, qt.tm_sec );
if( ent && ent->client->pers.admin )