branch: externals/org-modern commit 18787dfa38b164b51853723e82bc6d41c6d8a98e Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Improve date regexp, recognize international dates (Fix #8) --- org-modern.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-modern.el b/org-modern.el index b69607b924..5eef0648c9 100644 --- a/org-modern.el +++ b/org-modern.el @@ -480,7 +480,7 @@ Set to nil to disable the indicator." (when org-modern-tag '(("^\\*+.*?\\( \\)\\(:.*:\\)[ \t]*$" (0 (org-modern--tag))))) (when org-modern-timestamp - '(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?: [A-Za-z]+\\)?\\)\\(\\(?: [0-9]\\{2\\}:[0-9]\\{2\\}\\)?\\(?: [.+-]+[0-9]+[hdwmy]\\)?\\)\\(?:>\\|\\]\\)" + '(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?: [[:word:]]+\\)?\\)\\(\\(?: [0-9]\\{2\\}:[0-9]\\{2\\}\\)?\\(?: [.+-]+[0-9]+[hdwmy]\\)?\\)\\(?:>\\|\\]\\)" (0 (org-modern--timestamp))))) (when org-modern-statistics '((" \\[\\(\\([0-9]+\\)%\\|\\([0-9]+\\)/\\([0-9]+\\)\\)\\]" (0 (org-modern--statistics)))))))