(svn r26657) -Add [FS#6047]: Days in dates are not represented by ordinal numbers in all languages
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user