From b28c1b6488651d724d06f460c27db8c1a9d114e0 Mon Sep 17 00:00:00 2001 From: Ludoviko Date: Fri, 17 Sep 2021 21:03:03 +0100 Subject: [PATCH] Corrected copy to keyboard --- pages/birthdays.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/birthdays.tsx b/pages/birthdays.tsx index 78b24ce..cd8beb1 100644 --- a/pages/birthdays.tsx +++ b/pages/birthdays.tsx @@ -27,7 +27,7 @@ export default function BirthdaysPage() { dateFormat="dd/MM" /> Command to set your birthday: {`bd!setup ${Intl.DateTimeFormat().resolvedOptions().timeZone} ${moment(date).format("MM/DD")}`} - setCopied("Copied!")} text={`bd!setup ${Intl.DateTimeFormat().resolvedOptions().timeZone} ${date.getMonth()+1}/${date.getDate()}`}> + setCopied("Copied!")} text={`bd!setup ${Intl.DateTimeFormat().resolvedOptions().timeZone} ${moment(date).format("MM/DD")}`}>