diff options
author | planetmaker <planetmaker@openttd.org> | 2014-06-20 20:57:32 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2014-06-20 20:57:32 +0000 |
commit | 42bc994cce5b74467bf66b45d437163bd7c558cc (patch) | |
tree | f91194fb97f37af0f58d0dede8d5dc99bf93539e /src/strings.cpp | |
parent | 73bfec0fc8930ca47e8f5c7ff524312681fa0736 (diff) | |
download | openttd-42bc994cce5b74467bf66b45d437163bd7c558cc.tar.xz |
(svn r26657) -Add [FS#6047]: Days in dates are not represented by ordinal numbers in all languages
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |