diff options
| author | Barry Warsaw | 2012-03-26 08:04:00 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-26 08:04:00 -0400 |
| commit | 5cb68db131db32c643382f6fd1418a3659dc6f8e (patch) | |
| tree | 13a2e02a48303804c2cae37c656937711bd37fa5 /src/mailman/handlers/to_digest.py | |
| parent | cfb7138579ddb8a4adb10956ceb39089181271b4 (diff) | |
| download | mailman-5cb68db131db32c643382f6fd1418a3659dc6f8e.tar.gz mailman-5cb68db131db32c643382f6fd1418a3659dc6f8e.tar.zst mailman-5cb68db131db32c643382f6fd1418a3659dc6f8e.zip | |
Diffstat (limited to 'src/mailman/handlers/to_digest.py')
| -rw-r--r-- | src/mailman/handlers/to_digest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/handlers/to_digest.py b/src/mailman/handlers/to_digest.py index 698f16e1e..71511f136 100644 --- a/src/mailman/handlers/to_digest.py +++ b/src/mailman/handlers/to_digest.py @@ -26,7 +26,6 @@ __all__ = [ import os -import datetime from zope.interface import implements @@ -35,6 +34,7 @@ from mailman.core.i18n import _ from mailman.email.message import Message from mailman.interfaces.digests import DigestFrequency from mailman.interfaces.handler import IHandler +from mailman.utilities.datetime import now as right_now from mailman.utilities.mailbox import Mailbox @@ -85,7 +85,7 @@ class ToDigest: def bump_digest_number_and_volume(mlist): """Bump the digest number and volume.""" - now = datetime.datetime.now() + now = right_now() if mlist.digest_last_sent_at is None: # There has been no previous digest. bump = False |
