Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

day number / encode-time functions? #23

Open
unhammer opened this issue Jul 7, 2023 · 1 comment
Open

day number / encode-time functions? #23

unhammer opened this issue Jul 7, 2023 · 1 comment

Comments

@unhammer
Copy link

unhammer commented Jul 7, 2023

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)?

@alphapapa
Copy link
Owner

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. :)

unhammer added a commit to unhammer/ts.el that referenced this issue Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants