branch: elpa/why-this commit 45dc65ccb10121c6b7f3c5e9f307700e4677c0ae Author: Akib Azmain Turja <a...@disroot.org> Commit: Akib Azmain Turja <a...@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)))