From 1da78b8ab4804263e988c141b2690f2ef5cffda9 Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky <svyatonik@gmail.com> Date: Mon, 6 Apr 2020 11:01:29 +0300 Subject: [PATCH] fixed time format string (#54) --- bridges/relays/ethereum/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/relays/ethereum/src/main.rs b/bridges/relays/ethereum/src/main.rs index 9feb34462bb..bf256d6fad0 100644 --- a/bridges/relays/ethereum/src/main.rs +++ b/bridges/relays/ethereum/src/main.rs @@ -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 { -- GitLab