update log time format

This commit is contained in:
yggverse 2025-06-08 19:50:51 +03:00
parent 7d0db3f8ec
commit 3b127c581e

View file

@ -2,9 +2,6 @@ pub fn info(message: &str) {
println!("[{}] [info] {message}", now())
}
fn now() -> u128 {
std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_millis()
fn now() -> String {
chrono::Local::now().to_rfc3339()
}