| 579 | } |
| 580 | |
| 581 | static void FormatTinyOrISODate(StringBuilder &builder, TimerGameCalendar::Date date, StringID str) |
| 582 | { |
| 583 | TimerGameCalendar::YearMonthDay ymd = TimerGameCalendar::ConvertDateToYMD(date); |
| 584 | |
| 585 | /* Day and month are zero-padded with ZEROFILL_NUM, hence the two 2s. */ |
| 586 | auto tmp_params = MakeParameters(ymd.day, 2, ymd.month + 1, 2, ymd.year); |
| 587 | FormatString(builder, GetStringPtr(str), tmp_params); |
| 588 | } |
| 589 | |
| 590 | static void FormatGenericCurrency(StringBuilder &builder, const CurrencySpec *spec, Money number, bool compact) |
| 591 | { |
no test coverage detected