mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 06:48:01 +00:00
fixed time format string (#54)
This commit is contained in:
committed by
Bastian Köcher
parent
c0881f5582
commit
1da78b8ab4
@@ -50,7 +50,7 @@ fn initialize() {
|
||||
builder.parse_filters(&filters);
|
||||
builder.format(move |buf, record| {
|
||||
writeln!(buf, "{}", {
|
||||
let timestamp = time::OffsetDateTime::now_local().format("%Y-%m-%d %H:%M:%S %Z");
|
||||
let timestamp = time::OffsetDateTime::now_local().format("%Y-%m-%d %H:%M:%S %z");
|
||||
if cfg!(windows) {
|
||||
format!("{} {} {} {}", timestamp, record.level(), record.target(), record.args())
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user