org-id-uuid: Use compat org-time-convert-to-list for emacs <27.1

* lisp/org-macs.el (org-id-uuid): Use `org-time-convert-to-list'
instead of `time-convert', which is not yet available in Emacs 26.
This commit is contained in:
Justin Vallon 2023-07-04 19:01:27 -04:00 committed by Ihor Radchenko
parent 48fffa5dac
commit f18fad60b6
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -803,7 +803,7 @@ When NEXT is non-nil, check the next line instead."
"Return string with random (version 4) UUID."
(let ((rnd (md5 (format "%s%s%s%s%s%s%s"
(random)
(time-convert nil 'list)
(org-time-convert-to-list nil)
(user-uid)
(emacs-pid)
(user-full-name)