We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
base model uses datetime.utcnow() (current time in UTC):
datetime.utcnow()
AirBnB_clone_v2/models/base_model.py
Line 47 in ce73eb1
datetime.now()
AirBnB_clone_v2/tests/test_models/test_base_model.py
Line 85 in ce73eb1
The text was updated successfully, but these errors were encountered:
The problem is still present, I have fixed it on my own v3 version with my peer Daniel Cortes
Sorry, something went wrong.
i think its there to test our debug abilities, i like that
No branches or pull requests
base model uses
datetime.utcnow()
(current time in UTC):AirBnB_clone_v2/models/base_model.py
Line 47 in ce73eb1
but the unit tests use
datetime.now()
(current time in local timezone):AirBnB_clone_v2/tests/test_models/test_base_model.py
Line 85 in ce73eb1
so the test will fail if you're not in that timezone
The text was updated successfully, but these errors were encountered: