Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rented_mule
on July 16, 2024
|
parent
|
context
|
favorite
| on:
Timezone-naive datetimes are one of the most dange...
There are linters that give you this statically, but you need to know to run the linter. An example:
https://docs.astral.sh/ruff/rules/call-datetime-without-tzin...
OutOfHere
on July 16, 2024
[–]
Just to be sure, is this rule enabled by default?
rented_mule
on July 16, 2024
|
parent
[–]
In the case of ruff, I don't believe so. Your config needs to specify ALL or DTZ.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: