Compare commits

...

3 commits
0.4.4 ... main

Author SHA1 Message Date
a56103d4c7
update repo link 2023-09-18 18:47:23 +02:00
79cc041251
0.4.5 release 2023-09-07 18:52:09 +02:00
c9262519c3
Remove debug entry 2023-09-07 18:51:41 +02:00
3 changed files with 3 additions and 4 deletions

2
Cargo.lock generated
View file

@ -160,7 +160,7 @@ checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223"
[[package]]
name = "cal8tor"
version = "0.4.4"
version = "0.4.5"
dependencies = [
"chrono",
"clap",

View file

@ -1,11 +1,11 @@
[package]
name = "cal8tor"
version = "0.4.4"
version = "0.4.5"
authors = ["Mylloon"]
edition = "2021"
description = "Extractor of the calendar of the IT degree of university Paris 8"
readme = "README.md"
repository = "https://git.kennel.ml/Anri/cal8tor"
repository = "https://git.mylloon.fr/Anri/cal8tor"
keywords = ["scrape", "calendar"]
publish = false
license = "AGPL-3.0-or-later"

View file

@ -114,7 +114,6 @@ fn anglophonization(date: &str) -> String {
fn get_date(date: &str) -> DateTime<Utc> {
// Use and keep UTC time, we have the hour set to 12h and
// Paris 8 is in France so there is no problems
eprintln!("-> {}", &anglophonization(date));
DateTime::parse_from_str(&anglophonization(date), "%e %B %Y %H:%M %z")
.unwrap()
.into()