diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/utils/timesince.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/utils/timesince.py b/django/utils/timesince.py index 701c49bab9..f582d0e4f2 100644 --- a/django/utils/timesince.py +++ b/django/utils/timesince.py @@ -97,6 +97,7 @@ def timesince(d, now=None, reversed=False, time_strings=None, depth=2): d.hour, d.minute, d.second, + tzinfo=d.tzinfo, ) else: pivot = d |
