]> code.delx.au - gnu-emacs/commitdiff
Fix NNTP NEWGROUPS off-by-a-few-hours bug
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Jan 2016 16:29:12 +0000 (08:29 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Jan 2016 16:29:32 +0000 (08:29 -0800)
* lisp/gnus/nntp.el (nntp-request-newgroups): Format string
in Universal Time, since we’re telling the server “GMT”.

lisp/gnus/nntp.el

index 0e10dfdb8becd0dcec542c808405c711e6af4ae1..0006ef9f5cf858690e16b3a8c02f8ece9fe96564 100644 (file)
@@ -1130,7 +1130,7 @@ command whose response triggered the error."
        (prog1
            (nntp-send-command
             "^\\.\r?\n" "NEWGROUPS"
-            (format-time-string "%y%m%d %H%M%S" time)
+            (format-time-string "%y%m%d %H%M%S" time t)
             "GMT")
          (nntp-decode-text))))))