Skip to content

Commit

Permalink
Update tendermint/src/time.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Thane Thomson <thane@informal.systems>
  • Loading branch information
mzabaluev and thanethomson committed Dec 7, 2021
1 parent 7dbe37a commit 6e16989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tendermint/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl Time {
let date = OffsetDateTime::parse(s, &Rfc3339)
.map_err(Error::time_parse)?
.to_offset(offset!(UTC));
Time::from_utc(date)
Self::from_utc(date)
}

/// Return an RFC 3339 and ISO 8601 date and time string with subseconds (if nonzero) and Z.
Expand Down

0 comments on commit 6e16989

Please sign in to comment.