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

[locale: sk] formatRelative error #2560

Closed
neupauer opened this issue Jul 23, 2021 · 1 comment
Closed

[locale: sk] formatRelative error #2560

neupauer opened this issue Jul 23, 2021 · 1 comment

Comments

@neupauer
Copy link

Version of date-fns
2.22.1

Locale
sk (Slovak)
https://github.com/date-fns/date-fns/tree/master/src/locale/sk

Reproduction repository
https://stackblitz.com/edit/js-phoirz?devtoolsheight=33&file=index.js

formatRelative function with the specific input throws an error Error: Format string contains an unescaped latin alphabet character v

formatRelative(new Date("2021-07-29T11:30:23.000Z"), new Date("2021-07-23T12:09:22.607Z"), { locale: sk })
@neupauer neupauer changed the title [sk: locale] formatRelative error [locale: sk] formatRelative error Jul 23, 2021
@fturmel
Copy link
Member

fturmel commented Jul 23, 2021

Dupe of #2083, fix in PR #2540

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants