Skip to content

Commit

Permalink
Fix the wording in timestamp's documentation
Browse files Browse the repository at this point in the history
It is not possible to give the method implementors of `TimeZone`, but rather an instace to a `DateTime` object in the UTC timezone.
  • Loading branch information
arqunis committed Feb 24, 2019
1 parent 3899547 commit 7c09cdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/builder/create_embed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ impl CreateEmbed {
///
/// This timestamp must be in ISO-8601 format. It must also be in UTC format.
///
/// You can also pass anything that implements `chrono::TimeZone`.
/// You can also pass an instance of `chrono::DateTime<Utc>`,
/// which will construct the timestamp string out of it.
///
/// # Examples
///
Expand Down

0 comments on commit 7c09cdd

Please sign in to comment.