diff options
| -rw-r--r-- | src/utils/builder/create_embed.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utils/builder/create_embed.rs b/src/utils/builder/create_embed.rs index e8f2e8d..95da366 100644 --- a/src/utils/builder/create_embed.rs +++ b/src/utils/builder/create_embed.rs @@ -160,12 +160,13 @@ impl CreateEmbed { /// Set the timestamp. /// - /// **Note:** This timestamp must be in ISO-8601 format. + /// **Note:** This timestamp must be in ISO-8601 format. It must also be + /// in UTC format. /// /// # Examples /// - /// `2017-01-03T23:00:00Z` - /// `2004-06-08T16:04:23-05:00` + /// `2017-01-03T23:00:00` + /// `2004-06-08T16:04:23` pub fn timestamp(mut self, timestamp: &str) -> Self { self.0.insert("timestamp".to_owned(), Value::String(timestamp.to_owned())); |