Skip to content

Commit

Permalink
fix(examples): fixed example mail display time bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FlemingVincent committed Apr 24, 2024
1 parent 816b654 commit 0badd55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/www/app/(app)/examples/mail/components/mail-display.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function MailDisplay({ mail }: MailDisplayProps) {
>
Later today{" "}
<span className="ml-auto text-muted-foreground">
{format(addHours(today, 4), "E, h:m b")}
{format(addHours(today, 4), "E, h:mm b")}
</span>
</Button>
<Button
Expand All @@ -112,7 +112,7 @@ export function MailDisplay({ mail }: MailDisplayProps) {
>
Tomorrow
<span className="ml-auto text-muted-foreground">
{format(addDays(today, 1), "E, h:m b")}
{format(addDays(today, 1), "E, h:mm b")}
</span>
</Button>
<Button
Expand All @@ -121,7 +121,7 @@ export function MailDisplay({ mail }: MailDisplayProps) {
>
This weekend
<span className="ml-auto text-muted-foreground">
{format(nextSaturday(today), "E, h:m b")}
{format(nextSaturday(today), "E, h:mm b")}
</span>
</Button>
<Button
Expand All @@ -130,7 +130,7 @@ export function MailDisplay({ mail }: MailDisplayProps) {
>
Next week
<span className="ml-auto text-muted-foreground">
{format(addDays(today, 7), "E, h:m b")}
{format(addDays(today, 7), "E, h:mm b")}
</span>
</Button>
</div>
Expand Down

0 comments on commit 0badd55

Please sign in to comment.