diff --git a/Telegram/SourceFiles/ui/text/format_values.cpp b/Telegram/SourceFiles/ui/text/format_values.cpp index 564e5013f8..d25e571f18 100644 --- a/Telegram/SourceFiles/ui/text/format_values.cpp +++ b/Telegram/SourceFiles/ui/text/format_values.cpp @@ -414,7 +414,7 @@ QString FormatTTL(float64 ttl) { + ' ' + tr::lng_days(tr::now, lt_count, int(days % 7)); } - } else if (ttl < (86400 * 31) * 12) { + } else if (ttl <= (86400 * 31) * 11) { return tr::lng_months(tr::now, lt_count, int(ttl / (86400 * 31))); } else { return tr::lng_years({}, lt_count, std::round(ttl / (86400 * 365)));