diff --git a/src/models/consensus/timestamp.rs b/src/models/consensus/timestamp.rs index 41ed7a7c..70415918 100644 --- a/src/models/consensus/timestamp.rs +++ b/src/models/consensus/timestamp.rs @@ -105,7 +105,7 @@ impl Timestamp { NaiveDateTime::from_timestamp_millis(self.0.value().try_into().unwrap_or(0)).unwrap(); let utc: DateTime = DateTime::from_naive_utc_and_offset(naive, *Utc::now().offset()); let offset: DateTime = DateTime::from(utc); - offset.to_rfc2822() + offset.to_rfc3339_opts(chrono::SecondsFormat::AutoSi, false) } pub fn arbitrary_between(start: Timestamp, stop: Timestamp) -> BoxedStrategy {