-
Notifications
You must be signed in to change notification settings - Fork 220
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
Correctly format future dates farther away than tomorrow #1438
Conversation
Hey, thanks for the PR! I think @jaxee built the current future date functionality, so she probably has good context to take a look :) PS sorry for the delay in getting to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 Hello! Thank you so much for adding to the support for future dates - you beat me to it 😄
I've left some feedback
@jaxee thanks for the feedback, just updated the branch/PR! |
@jaxee do you have any more feedback? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Great! What does the merge/release process look like (I don't have permission to merge since I don't have write access to this repo)? |
@emroussel I'll do a merge and release for you shortly :) |
Description
Fixes #1429
Add support for these two cases in polaris guidelines for future dates in
i18n.formatDate
when passingDateStyle.Humanize
.Type of change
dates
Minor: New feature (non-breaking change which adds functionality)react-i18n
Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)Checklist