From a7a3a9124f63bd029ac86d971aed93f6252da3cb Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 1 Jun 2019 23:17:39 +0200 Subject: [PATCH] Add context prefix to date format string --- qcsrc/menu/xonotic/statslist.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/menu/xonotic/statslist.qc b/qcsrc/menu/xonotic/statslist.qc index 51d95c1e3..7d19516cf 100644 --- a/qcsrc/menu/xonotic/statslist.qc +++ b/qcsrc/menu/xonotic/statslist.qc @@ -41,7 +41,7 @@ string XonoticStatsList_convertDate(string input) default: return input; // failed, why? } - string date = _("%m %d, %Y"); + string date = ZCTX(_("DATE^%m %d, %Y")); date = strreplace("%Y", substring(input, 0, 4), date); date = strreplace("%d", ftos(stof(substring(input, 8, 2))), date); // ftos-stof removes leading 0 date = strreplace("%m", monthname, date); -- 2.39.2