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:
+1
-1
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user