~erk/inbox

fix: reword command argument date parse error v1 APPLIED

Ken Swenson: 1
 fix: reword command argument date parse error

 1 files changed, 3 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~erk/inbox/patches/10648/mbox | git am -3
Learn more about email & git

[PATCH] fix: reword command argument date parse error Export this patch

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