I dislike American date
All checks were successful
Build and push Docker image / build (push) Successful in 3m39s
Build and push Docker image / deploy (push) Successful in 41s

This commit is contained in:
toast 2024-12-14 08:40:29 +11:00
parent 1dcfbb40ca
commit f3fc517d08
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1105,7 +1105,7 @@ dependencies = [
[[package]]
name = "kon_cmds"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"kon_libs",
"kon_tokens",

View File

@ -1,6 +1,6 @@
[package]
name = "kon_cmds"
version = "0.1.1"
version = "0.1.2"
edition = "2024"
[dependencies]

View File

@ -221,7 +221,7 @@ fn fmt_dt(input: &str) -> Option<String> {
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}"))