From 52c89dc95af6814a23324fe98cf42912da9339eb Mon Sep 17 00:00:00 2001 From: Dominic Date: Sun, 26 May 2024 16:15:36 +0200 Subject: [PATCH] fix british dates --- src/iotro.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iotro.rs b/src/iotro.rs index 22f5c1d..a4eeccb 100644 --- a/src/iotro.rs +++ b/src/iotro.rs @@ -91,7 +91,7 @@ pub const BRITISH: Language<'static> = Language { 3 | 23 => "rd", _ => "th" }; - format!("{:02}{th} {month} {:04}", d.day, d.year) + format!("{}{th} {month} {:04}", d.day, d.year) }, lecture_from: "Lecture from",