On 31/12/2021 20:21, Uwe Brauer wrote:

Does anybody know about a function that would convert between
date format  like 31.12.2021 to  <2020-12-31> and back?

Uwe, I suggest you to create a feature request at https://debbugs.gnu.org for emacs to add a function similar to strptime that can parse date-time string accordingly to given format, see info "(libc) Low-Level Time String Parsing" https://www.gnu.org/software/libc/manual/html_node/Low_002dLevel-Time-String-Parsing.html

Actually, I suppose, you need a function that parses date accordingly to current locale. It can be added to the feature request as well (and Eli will say that since Emacs is a multilingual editor, there is no well defined "current locale").


Reply via email to