emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/why-this 45dc65ccb1 26/59: Fix timezone problem in Git bac


From: ELPA Syncer
Subject: [nongnu] elpa/why-this 45dc65ccb1 26/59: Fix timezone problem in Git backend
Date: Sun, 27 Nov 2022 16:02:51 -0500 (EST)

branch: elpa/why-this
commit 45dc65ccb10121c6b7f3c5e9f307700e4677c0ae
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    Fix timezone problem in Git backend
---
 why-this.el | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/why-this.el b/why-this.el
index cd181bb5e8..72761fc673 100644
--- a/why-this.el
+++ b/why-this.el
@@ -617,16 +617,8 @@ Do CMD with ARGS."
                        :id commit
                        :author (cdr (assoc-string "author" data))
                        :time (time-convert
-                              (+ (- (string-to-number
-                                     (cdr
-                                      (assoc-string "author-time" data)))
-                                    (* (timezone-zone-to-minute
-                                        (cdr
-                                         (assoc-string "author-tz" data)))
-                                       60))
-                                 (* (timezone-zone-to-minute
-                                     (current-time-zone))
-                                    60)))
+                              (string-to-number
+                               (cdr (assoc-string "author-time" data))))
                        :message (cdr (assoc-string "summary" data)))))))
                  (setq i (1+ i))))))
          (while (< (length line-data) (- (nth 1 args) (nth 0 args)))



reply via email to

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