improve: time crate flagged as deprecated, switch to actively maintained chrono crate (#1297)

* improve: time crate flagged as deprecated, switch to actively maintained chrono crate

* improve: complete the switching from deprecated time crate to chrono crate, for all the tests part

* improve: complete switching to chrono crate, for the left tests in 'chain' and 'wallet'
This commit is contained in:
Gary Yu
2018-07-30 16:33:28 +08:00
committed by Yeastplume
parent 5c029e3f87
commit 76f4915bf9
46 changed files with 137 additions and 157 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ impl BlockHeaderPrintable {
version: h.version,
height: h.height,
previous: util::to_hex(h.previous.to_vec()),
timestamp: h.timestamp.rfc3339().to_string(),
timestamp: h.timestamp.to_rfc3339(),
output_root: util::to_hex(h.output_root.to_vec()),
range_proof_root: util::to_hex(h.range_proof_root.to_vec()),
kernel_root: util::to_hex(h.kernel_root.to_vec()),