Skip to content

Commit

Permalink
Fixed string: "seconds" -> "nanoseconds"
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvann committed Feb 21, 2019
1 parent 0cfae01 commit e9e297b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ pub mod serde {

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result
{
write!(formatter, "a unix timestamp in seconds")
write!(formatter, "a unix timestamp in nanoseconds")
}

/// Deserialize a timestamp in nanoseconds since the epoch
Expand Down

0 comments on commit e9e297b

Please sign in to comment.