~erk/inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] fix: reword command argument date parse error

Details
Message ID
<20200515224703.161946-1-flat@esoteric.moe>
DKIM signature
missing
Download raw message
Patch: +3 -3
Signed-off-by: Ken Swenson <flat@esoteric.moe>
---
 src/comic.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/comic.rs b/src/comic.rs
index 70c55ad..bbfd31d 100644
--- a/src/comic.rs
+++ b/src/comic.rs
@@ -174,9 +174,9 @@ impl ComicEmbed {
                    .await?;
            }
            ErrorType::InvalidFormat => {
                const INVALID_FORMAT: &str = "Date was written in a invalid format, \
                                              use a format like `2015-5-15`. \
                                              More generally the format is `YYYY-MM-DD`.";
                const INVALID_FORMAT: &str = "Date was written in an invalid format, \
                                              the format should be written as `YYYY-MM-DD` or `YYYY-M-DD` \
                                              for example  `2015-05-15` or `2015-5-15`.";
                http.create_message(channel_id)
                    .content(INVALID_FORMAT)
                    .await?;
-- 
2.26.2
Reply to thread Export thread (mbox)