gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www_shared] branch master updated: use GMT


From: gnunet
Subject: [www_shared] branch master updated: use GMT
Date: Fri, 03 Jul 2020 11:24:49 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository www_shared.

The following commit(s) were added to refs/heads/master by this push:
     new 180c020  use GMT
180c020 is described below

commit 180c0207877d1490877449960853fbcbccd4b603
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jul 3 11:19:09 2020 +0200

    use GMT
---
 time.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/time.py b/time.py
index 52af0ec..07cb86d 100644
--- a/time.py
+++ b/time.py
@@ -41,6 +41,6 @@ def time_rfc822(t):
     if type(t) == float:
         return email.utils.formatdate(t)
     elif type(t) == datetime.datetime:
-        return email.utils.format_datetime(t)
+        return email.utils.format_datetime(t,usegmt=True)
     else:
         return sys.exit(1)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]