-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Faker Month Off-by-One Error when using I18n #1674
Comments
@crispinheneise thanks for reporting 👍 |
@crispinheneise @jutonz I know this can be a bit impactful, but I'd prefer to wait for other small bug fixes/minor enhancements before doing a minor release Let me know if anyone disagrees with me. If this becomes a real big issue, we can accelerate the process. |
It may not be an issue for some because Faker is typically not used in production. For me it was a breaking issue because every place where |
I found this after narrowing down the test suite failure to the |
I just did a small release. No frustration anymore. Let me know if you see anything else. |
@tconst Dependabot to the rescue. Dependabot had opened several PRs today, but the only one that failed CI was the faker upgrade. From there it was pretty easy to narrow it down. |
Describe the bug
Faker's en.yml file doesn't include a
nil
value for themonth_names
array, which causes the months to be offset by one. This causes dates to be one month ahead when formatted.To Reproduce
Describe the steps to reproduce the behavior.
without Faker...
with faker...
This problem is also described in spree/spree#2427
The text was updated successfully, but these errors were encountered: