ui icon indicating copy to clipboard operation
ui copied to clipboard

fix(examples): fixed example mail display time bug

Open flemingvincent opened this issue 1 year ago • 3 comments

Bug

The <MailDisplay /> component was formatting times incorrectly. This was caused by an incorrect option when using the format() function from date-fns.

screencapture-ui-shadcn-examples-mail-2024-04-24-19_05_13

Fix

Instead of using the option ""E, h:m b"", I replaced it with ""E, h:mm b"", which always displays two digits.

screencapture-localhost-3003-2024-04-24-19_09_58

Testing

All tests are passing.

Screenshot 2024-04-24 at 7 22 33 PM

flemingvincent avatar Apr 24 '24 23:04 flemingvincent

@FlemingVincent is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 24 '24 23:04 vercel[bot]

Who needs to authorize this? 2w already open.

thalesfsp avatar May 08 '24 03:05 thalesfsp

@thalesfsp Not sure, but it would be nice to get his merged.

flemingvincent avatar May 09 '24 14:05 flemingvincent

Since Apr 24... and counting.

thalesfsp avatar Jun 11 '24 21:06 thalesfsp

Since Sept 15... and counting

thalesfsp avatar Sep 15 '24 16:09 thalesfsp