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

Fix: Date value out of range when changing default TIME_ZONE variable to another value #879

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jhonvidal
Copy link
Collaborator

For example, when changing the value of TIME_ZONE="America/Caracas" in the configuration file (testshop/settings.py), the following error is reported when running the tests:

ArcoLinux_2023-10-18_20-25-48

My solution is to increase the minimum date by 1 week and decrease the maximum date by 1 week, this way when they change the TIME_ZONE value it doesn't run a date out of range error. By applying this solution you can verify that all tests were satisfactory:

ArcoLinux_2023-10-18_20-30-51

  • Note: code formatted in PEP-8 style

@jhonvidal
Copy link
Collaborator Author

It looks like the Travis CI is stuck.
What can be done? or how can I help with the review and merge

@jrief
Copy link
Member

jrief commented Oct 19, 2023

django-SHOP should be migrated towards Github actions anyway.

Travis-CI is dead.

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

Successfully merging this pull request may close these issues.

None yet

2 participants