diff options
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/timesince.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/timesince.py b/django/utils/timesince.py index 0b94d89bc6..e69c45c8c1 100644 --- a/django/utils/timesince.py +++ b/django/utils/timesince.py @@ -24,7 +24,7 @@ def timesince(d, now=None): else: t = time.localtime() if d.tzinfo: - tz = LocalTimezone() + tz = LocalTimezone(d) else: tz = None now = datetime.datetime(t[0], t[1], t[2], t[3], t[4], t[5], tzinfo=tz) |
