From f3fc517d08289f7e3e54d3b96d34932bcebd8940 Mon Sep 17 00:00:00 2001 From: toast Date: Sat, 14 Dec 2024 08:40:29 +1100 Subject: [PATCH] I dislike American date --- Cargo.lock | 2 +- cmds/Cargo.toml | 2 +- cmds/src/dispatch/ilo.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2c118d7..d9f8cdb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1105,7 +1105,7 @@ dependencies = [ [[package]] name = "kon_cmds" -version = "0.1.1" +version = "0.1.2" dependencies = [ "kon_libs", "kon_tokens", diff --git a/cmds/Cargo.toml b/cmds/Cargo.toml index 4af5c6d..6eb6b47 100644 --- a/cmds/Cargo.toml +++ b/cmds/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kon_cmds" -version = "0.1.1" +version = "0.1.2" edition = "2024" [dependencies] diff --git a/cmds/src/dispatch/ilo.rs b/cmds/src/dispatch/ilo.rs index da39603..27fbc86 100644 --- a/cmds/src/dispatch/ilo.rs +++ b/cmds/src/dispatch/ilo.rs @@ -221,7 +221,7 @@ fn fmt_dt(input: &str) -> Option { return None; } - let date = format!("{}/{}/{}", date_parts[1], date_parts[2], date_parts[0]); + let date = format!("{}/{}/{}", date_parts[2], date_parts[1], date_parts[0]); let time = parts[1].trim_end_matches('Z'); Some(format!("{date} {time}"))