format log time as rfc3339

This commit is contained in:
yggverse 2025-07-07 14:34:51 +03:00
parent 09b83d6449
commit d05b15c7a3

View file

@ -25,9 +25,6 @@ impl Debug {
}
}
fn now() -> u128 {
std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_millis()
fn now() -> String {
chrono::Local::now().to_rfc3339()
}