Hi, > twittering-mode: correct incorrect time formatting due to "84600" typo
(Adding missing patch) Regards, -- ,''`. : :' : Chris Lamb, Debian Project Leader `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/twittering-mode.el b/twittering-mode.el index 5f885d3..1297ca0 100644 --- a/twittering-mode.el +++ b/twittering-mode.el @@ -9468,7 +9468,7 @@ rendered at POS, return nil." ((< secs 2400) (format "%d minutes ago" (/ (+ secs 30) 60))) ((< secs 5400) "about 1 hour ago") - ((< secs 84600) (format "about %d hours ago" + ((< secs 86400) (format "about %d hours ago" (/ (+ secs 1800) 3600))) (t (format-time-string time-format encoded-created-at)))) (properties (append additional-properties @@ -9476,7 +9476,7 @@ rendered at POS, return nil." (time-string ;; Copy a string and restore properties. (apply 'propertize time-string properties))) - (if (< secs 84600) + (if (< secs 86400) (put-text-property 0 (length time-string) 'need-to-be-updated `(twittering-make-passed-time-string