2009-06-29 04:16:12 |
Michael Hudson-Doyle |
description |
The launchpad servers are currently running in UTC+1 (British Summer Time).
The mail that gets sent when you are assigned to a bug has a Date header like this:
Date: Mon, 29 Jun 2009 04:04:09 -0000
But Received headers like this:
Received: from gandwana.canonical.com (localhost.localdomain [127.0.0.1])
by gandwana.canonical.com (Postfix) with ESMTP id 774A3450039
for <michael.hudson@canonical.com>; Mon, 29 Jun 2009 04:04:10 +0100 (BST)
The data header is wrong.
Looking in mailnotification.py quickly I can see that the code is timezone-naive, but I don't know what the correct fix is, necessarily. It might be as simple as:
# Now's a good a time as any for this email; don't use the original
# reported date for the bug as it will just confuse mailer and
# recipient.
email_date = datetime.datetime.now(pytz.NOW) |
The launchpad servers are currently running in UTC+1 (British Summer Time).
The mail that gets sent when you are assigned to a bug has a Date header like this:
Date: Mon, 29 Jun 2009 04:04:09 -0000
But Received headers like this:
Received: from gandwana.canonical.com (localhost.localdomain [127.0.0.1])
by gandwana.canonical.com (Postfix) with ESMTP id 774A3450039
for <michael.hudson@canonical.com>; Mon, 29 Jun 2009 04:04:10 +0100 (BST)
The date header is wrong.
Looking in mailnotification.py quickly I can see that the code is timezone-naive, but I don't know what the correct fix is, necessarily. It might be as simple as:
# Now's a good a time as any for this email; don't use the original
# reported date for the bug as it will just confuse mailer and
# recipient.
email_date = datetime.datetime.now(pytz.NOW) |
|
2009-06-29 04:16:47 |
Michael Hudson-Doyle |
description |
The launchpad servers are currently running in UTC+1 (British Summer Time).
The mail that gets sent when you are assigned to a bug has a Date header like this:
Date: Mon, 29 Jun 2009 04:04:09 -0000
But Received headers like this:
Received: from gandwana.canonical.com (localhost.localdomain [127.0.0.1])
by gandwana.canonical.com (Postfix) with ESMTP id 774A3450039
for <michael.hudson@canonical.com>; Mon, 29 Jun 2009 04:04:10 +0100 (BST)
The date header is wrong.
Looking in mailnotification.py quickly I can see that the code is timezone-naive, but I don't know what the correct fix is, necessarily. It might be as simple as:
# Now's a good a time as any for this email; don't use the original
# reported date for the bug as it will just confuse mailer and
# recipient.
email_date = datetime.datetime.now(pytz.NOW) |
The launchpad servers are currently running in UTC+1 (British Summer Time).
The mail that gets sent when you are assigned to a bug has a Date header like this:
Date: Mon, 29 Jun 2009 04:04:09 -0000
But Received headers like this:
Received: from gandwana.canonical.com (localhost.localdomain [127.0.0.1])
by gandwana.canonical.com (Postfix) with ESMTP id 774A3450039
for <michael.hudson@canonical.com>; Mon, 29 Jun 2009 04:04:10 +0100 (BST)
The date header is wrong.
Looking in mailnotification.py quickly I can see that the code is timezone-naive, but I don't know what the correct fix is, necessarily. It might be as simple as:
# Now's a good a time as any for this email; don't use the original
# reported date for the bug as it will just confuse mailer and
# recipient.
email_date = datetime.datetime.now(pytz.UTC) |
|