summaryrefslogtreecommitdiff
path: root/lisp/gnus/nntp.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-01-13 08:29:12 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-01-13 08:29:32 -0800
commited1b2de50ae87d8b2f9882be7576fbe5097df65b (patch)
tree0743c55729bf1aced4694c3c742541992c3ef60a /lisp/gnus/nntp.el
parent281344e606ca46542063dca4687371ea7dcc23c1 (diff)
downloademacs-ed1b2de50ae87d8b2f9882be7576fbe5097df65b.tar.gz
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”.
Diffstat (limited to 'lisp/gnus/nntp.el')
-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."
(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))))))