Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Error: Missing translation for key: date.humanize.lessThanOneYearAway in locale: en #2634

Closed
therealtgd opened this issue Apr 18, 2023 · 2 comments
Labels
Type: Bug 🐛 Something isn't working

Comments

@therealtgd
Copy link

therealtgd commented Apr 18, 2023

When using i18n.formatDate() from @shopify/react-i18n I am getting the error from the title.

Here is the code sandbox with the described issue.

@therealtgd therealtgd added the Type: Bug 🐛 Something isn't working label Apr 18, 2023
@therealtgd
Copy link
Author

It was an error on my side :D

@yuvrajharod
Copy link

Hey Mate, can you tell me how'd you resolve this issue? I am getting same and though i understand adding locale should do the job ideally but I wanted to use elements like 'Just now' or 'Yesterday at 10:12 am'

I am guessing that has to be done using locale as well but are there any documentation present which can help me work through this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants