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")}`}>