Commit e9e16960 authored by Christer Ekholm's avatar Christer Ekholm

Minor cosmetic change to lyskom-mx-date-to-time.

Moved selection of wday from convdate to a more natural place, and
reduced line-length.
parent fd108eaf
......@@ -1313,18 +1313,19 @@ Args: TEXT-STAT of the text being read."
(wday (elt date 6))
(dst (elt date 7))
(zone (elt date 8))
(convdate (decode-time (encode-time sec min hour day month year wday dst zone))))
(convdate (decode-time (encode-time sec min hour day month year
wday dst zone))))
(setq date
(if kom-show-mx-date-as-local
convdate
(list sec min hour day month year wday dst zone)))
(list sec min hour day month year (or wday (elt convdate 6)) dst zone)))
(lyskom-create-time (elt date 0)
(elt date 1)
(elt date 2)
(elt date 3)
(elt date 4)
(elt date 5)
(or (elt date 6) (elt convdate 6))
(elt date 6)
0
(elt date 7)
(elt date 8)))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment