diff --git a/public/crtlib.c b/public/crtlib.c index 6657128c..35526a1f 100644 --- a/public/crtlib.c +++ b/public/crtlib.c @@ -298,7 +298,8 @@ const char* Q_timestamp( int format ) break; case TIME_FILENAME: // Build a timestamp that can use for filename (ex: "Nov2006-26 (19.14.28)"); - strftime( timestamp, sizeof( timestamp ), "%b%Y-%d_%H.%M.%S", crt_tm ); + // a1ba: reordered to make it sortable -> 2006-10-26_19.24.28 + strftime( timestamp, sizeof( timestamp ), "%Y-%m-%d_%H.%M.%S", crt_tm ); break; default: Q_snprintf( timestamp, sizeof( timestamp ), "%s: unknown format %d", __func__, format );