I started using Emacs on Linux, now I moved to Mac OS and my problems began.
When I use org-capture to capture stuff to a datetree, it duplicates the day entry instead of just adding a new node under the existing day.
* 2019 ** 2019-08 *** 2019-08-09 Sexta Feira **** [2019-08-09 Sex 01:21] Entry 1 *** 2019-08-09 Sexta Feira **** [2019-08-09 Sex 03:55] Entry 2 *** 2019-08-09 Sexta Feira **** [2019-08-09 Sex 17:19] Entry 3
2019-08-09 Sexta Feira part is duplicated for every new entry on that same day.
I know what the problem is, BUT I DON'T KNOW HOW TO FIX IT. On Linux, the day appears as "sexta" (one word). On Mac OS, it's "Sexta Feira" (two words, without hyphen).
I could track things down to the org-datetree-find-day-create function. It uses a regex that ends with
\w+, but it won't match a day with more than one word.
How can I fix it? My emacs knowledge is limited, so any help is welcome.