ts.el icon indicating copy to clipboard operation
ts.el copied to clipboard

day number / encode-time functions?

Open unhammer opened this issue 2 years ago • 1 comments

In https://github.com/unhammer/org-upcoming-modeline/blob/c3e4705ff2ade869e229f33090c92ac671362623/org-upcoming-modeline.el#L164..L172 I encode-time manually like a barbarian in order to use time-to-days – is there a builtin way to encode-time in ts.el, alternatively to get absolute day number (for counting day differences possibly across years)?

unhammer avatar Jul 07 '23 08:07 unhammer

All that you see in the docs and code are what's there. If it doesn't do something you need easily enough, feel free to propose an addition. :)

alphapapa avatar Jul 07 '23 12:07 alphapapa