From e4aa5864eb7cb035ec527b71c51b9660f1424e45 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 7 Sep 2023 18:20:51 +0200 Subject: [PATCH] Add missing months --- src/info.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/info.rs b/src/info.rs index 0caf672..3dd494b 100644 --- a/src/info.rs +++ b/src/info.rs @@ -77,9 +77,17 @@ async fn get_webpage(user_agent: &str) -> Result String { let dico = HashMap::from([ ("janvier", "january"), + ("février", "february"), ("mars", "march"), + ("avril", "april"), + ("mai", "may"), + ("juin", "june"), + ("juillet", "july"), + ("août", "august"), ("septembre", "september"), + ("octobre", "october"), ("novembre", "november"), + ("décembre", "december"), ]); // New regex of all the french month