branch: externals/org-modern commit b8010f401143bb24272f441a7491fdf573377a67 Author: Vladimir F <21038976+vladonther...@users.noreply.github.com> Commit: GitHub <nore...@github.com>
modify org-modern-timestamp regex to match French-style (and maybe others), day-of-week short representation. (#94) Co-authored-by: vlad <vlad@ricardo> --- org-modern.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-modern.el b/org-modern.el index eb8f76e00a..4683fb8b9a 100644 --- a/org-modern.el +++ b/org-modern.el @@ -676,7 +676,7 @@ You can specify a font `:family'. The font families `Iosevka', `Hack' and ,@(unless (cadr org-modern-radio-target) '((2 '(face nil invisible t))))))))) (when org-modern-timestamp - '(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?: [[:word:]]+\\)?\\(?: [.+-]+[0-9ymwdh/]+\\)*\\)\\(\\(?: [0-9:-]+\\)?\\(?: [.+-]+[0-9ymwdh/]+\\)*\\)\\(?:>\\|\\]\\)" + '(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?: [[:word:]]+\\.?\\)?\\(?: [.+-]+[0-9ymwdh/]+\\)*\\)\\(\\(?: [0-9:-]+\\)?\\(?: [.+-]+[0-9ymwdh/]+\\)*\\)\\(?:>\\|\\]\\)" (0 (org-modern--timestamp))) ("<[^>]+>\\(-\\)\\(-\\)<[^>]+>\\|\\[[^]]+\\]\\(?1:-\\)\\(?2:-\\)\\[[^]]+\\]" (1 '(face org-modern-label display #(" " 1 2 (face (:strike-through t) cursor t))) t)