Add uk time to english messages

This commit is contained in:
2023-01-25 23:33:23 +01:00
parent 747353d544
commit 509824a926
3 changed files with 15 additions and 4 deletions

View File

@@ -167,7 +167,12 @@ async fn check_task(bot: &Throttle<Bot>, reminder_time: NaiveTime, db: &Database
text: t!(
"messages.appointment_today",
locale = &chat_info.locale,
start_time = &appointment.start.format("%H:%M").to_string()
start_time = &appointment.start.format("%H:%M").to_string(),
uk_time = &appointment
.start
.with_timezone(&Europe::London)
.format("%H:%M")
.to_string()
),
})
}