From 42bc994cce5b74467bf66b45d437163bd7c558cc Mon Sep 17 00:00:00 2001 From: planetmaker Date: Fri, 20 Jun 2014 20:57:32 +0000 Subject: (svn r26657) -Add [FS#6047]: Days in dates are not represented by ordinal numbers in all languages --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strings.cpp') diff --git a/src/strings.cpp b/src/strings.cpp index fb74a3f23..c12695c3a 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -409,7 +409,7 @@ static char *FormatYmdString(char *buff, Date date, const char *last, uint case_ YearMonthDay ymd; ConvertDateToYMD(date, &ymd); - int64 args[] = {ymd.day + STR_ORDINAL_NUMBER_1ST - 1, STR_MONTH_ABBREV_JAN + ymd.month, ymd.year}; + int64 args[] = {ymd.day + STR_DAY_NUMBER_1ST - 1, STR_MONTH_ABBREV_JAN + ymd.month, ymd.year}; StringParameters tmp_params(args); return FormatString(buff, GetStringPtr(STR_FORMAT_DATE_LONG), &tmp_params, last, case_index); } -- cgit v1.2.3-54-g00ecf