mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
format log time as rfc3339
This commit is contained in:
parent
09b83d6449
commit
d05b15c7a3
1 changed files with 2 additions and 5 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue