(svn r26657) -Add [FS#6047]: Days in dates are not represented by ordinal numbers in all languages

This commit is contained in:
planetmaker
2014-06-20 20:57:32 +00:00
parent 73bfec0fc8
commit 42bc994cce
60 changed files with 1837 additions and 21 deletions

View File

@@ -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);
}