summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/ui_main.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c
index 47be810e..97c5074a 100644
--- a/src/ui/ui_main.c
+++ b/src/ui/ui_main.c
@@ -33,14 +33,6 @@ USER INTERFACE MAIN
uiInfo_t uiInfo;
-static const char *MonthAbbrev[ ] =
-{
- "Jan", "Feb", "Mar",
- "Apr", "May", "Jun",
- "Jul", "Aug", "Sep",
- "Oct", "Nov", "Dec"
-};
-
static const char *netSources[ ] =
{
"Internet",
@@ -1087,8 +1079,9 @@ static void UI_StartServerRefresh( qboolean full )
trap_Cvar_Set( va( "ui_lastServerRefresh_%i_time", ui_netSource.integer ),
va( "%i", time ) );
trap_Cvar_Set( va( "ui_lastServerRefresh_%i", ui_netSource.integer ),
- va( "%s-%i, %i at %i:%02i", MonthAbbrev[q.tm_mon],
- q.tm_mday, 1900 + q.tm_year, q.tm_hour, q.tm_min ) );
+ va( "%04i-%02i-%02i %02i:%02i:%02i",
+ q.tm_year+1900, q.tm_mon+1, q.tm_mday,
+ q.tm_hour, q.tm_min, q.tm_sec ) );
if( !full )
{