branch: master
commit 4aea9615e0c5a16b0434f0f811198f34b4f48309
Author: Tino Calancha <tino.calan...@gmail.com>
Commit: Michael Albinus <michael.albi...@gmx.de>

    Fix bug face for newly arrived bugs in debbugs-gnu.el
    
    * packages/debbugs/debbugs-gnu.el (debbugs-gnu-show-reports):
    For some new bugs `date' and `log_modified' may differ in 1 second.
---
 packages/debbugs/debbugs-gnu.el |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el
index 4c108cc..dd1fe33 100644
--- a/packages/debbugs/debbugs-gnu.el
+++ b/packages/debbugs/debbugs-gnu.el
@@ -678,8 +678,11 @@ are taken from the cache instead."
                'debbugs-gnu-done)
               ((member "pending" (cdr (assq 'keywords status)))
                'debbugs-gnu-pending)
-              ((= (cdr (assq 'date status))
-                  (cdr (assq 'log_modified status)))
+              ;; For some new bugs `date' and `log_modified' may
+              ;; differ in 1 second.
+              ((< (abs (- (cdr (assq 'date status))
+                          (cdr (assq 'log_modified status))))
+                  3)
                'debbugs-gnu-new)
               ((< (- (float-time)
                      (cdr (assq 'log_modified status)))

Reply via email to