awesto / django-shop

A Django based shop system
http://www.django-shop.org
BSD 3-Clause "New" or "Revised" License
3.17k stars 1.04k forks source link

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

Open jhonvidal opened 8 months ago

jhonvidal commented 8 months ago

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

jhonvidal commented 8 months ago

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

jrief commented 8 months ago

django-SHOP should be migrated towards Github actions anyway.

Travis-CI is dead.