Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(examples): fixed example mail display time bug #3595

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/www/app/(app)/examples/mail/components/mail-display.tsx
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