Changes between Initial Version and Version 1 of Ticket #32320
- Timestamp:
- Jan 5, 2021, 1:02:40 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32320
- Property Resolution → invalid
- Property Status new → closed
-
Ticket #32320 – Description
initial v1 1 1 Hi. 2 2 3 `django.db.models.fields.DateField(auto_now=True)` sets date as `datetime.date.today()` (see [h ere](https://github.com/django/django/blob/master/django/db/models/fields/__init__.py#L1246)). This date is not localized with django and can be different from `django.utils.timezone.now()` used in `DateTimeField`, if django and local timzeones differ.3 `django.db.models.fields.DateField(auto_now=True)` sets date as `datetime.date.today()` (see [https://github.com/django/django/blob/master/django/db/models/fields/__init__.py#L1246 here]). This date is not localized with django and can be different from `django.utils.timezone.now()` used in `DateTimeField`, if django and local timzeones differ. 4 4 5 5 Suggestion: