---
source: crates/ruff/src/rules/flake8_datetimez/mod.rs
---
DTZ011.py:4:1: DTZ011 The use of `datetime.date.today()` is not allowed, use `datetime.datetime.now(tz=).date()` instead
  |
4 | # qualified
5 | datetime.date.today()
  | ^^^^^^^^^^^^^^^^^^^^^ DTZ011
6 | 
7 | from datetime import date
  |

DTZ011.py:9:1: DTZ011 The use of `datetime.date.today()` is not allowed, use `datetime.datetime.now(tz=).date()` instead
   |
 9 | # unqualified
10 | date.today()
   | ^^^^^^^^^^^^ DTZ011
   |


