mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Show floor()-ed days count till voice chat start.
This commit is contained in:
parent
d71b6effd6
commit
be74a391ba
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ void GroupCallScheduledLeft::update() {
|
||||||
_late = late;
|
_late = late;
|
||||||
constexpr auto kDay = 24 * 60 * 60;
|
constexpr auto kDay = 24 * 60 * 60;
|
||||||
if (left >= kDay) {
|
if (left >= kDay) {
|
||||||
const auto days = ((left / kDay) + 1);
|
const auto days = (left / kDay);
|
||||||
_textNonNegative = tr::lng_group_call_duration_days(
|
_textNonNegative = tr::lng_group_call_duration_days(
|
||||||
tr::now,
|
tr::now,
|
||||||
lt_count,
|
lt_count,
|
||||||
|
|
Loading…
Add table
Reference in a new issue