aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-01-13 08:29:12 -0800
committerPaul Eggert2016-01-13 08:29:32 -0800
commited1b2de50ae87d8b2f9882be7576fbe5097df65b (patch)
tree0743c55729bf1aced4694c3c742541992c3ef60a
parent281344e606ca46542063dca4687371ea7dcc23c1 (diff)
downloademacs-ed1b2de50ae87d8b2f9882be7576fbe5097df65b.tar.gz
emacs-ed1b2de50ae87d8b2f9882be7576fbe5097df65b.zip
Fix NNTP NEWGROUPS off-by-a-few-hours bug
* lisp/gnus/nntp.el (nntp-request-newgroups): Format string in Universal Time, since we’re telling the server “GMT”.
-rw-r--r--lisp/gnus/nntp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el
index 0e10dfdb8be..0006ef9f5cf 100644
--- a/lisp/gnus/nntp.el
+++ b/lisp/gnus/nntp.el
@@ -1130,7 +1130,7 @@ command whose response triggered the error."
1130 (prog1 1130 (prog1
1131 (nntp-send-command 1131 (nntp-send-command
1132 "^\\.\r?\n" "NEWGROUPS" 1132 "^\\.\r?\n" "NEWGROUPS"
1133 (format-time-string "%y%m%d %H%M%S" time) 1133 (format-time-string "%y%m%d %H%M%S" time t)
1134 "GMT") 1134 "GMT")
1135 (nntp-decode-text)))))) 1135 (nntp-decode-text))))))
1136 1136