Steps to reproduce
Select ‘Norsk’ (norwegian) language.
When I use Templater date macros, which uses Obsidians window.moment, I get date strings according to the ‘nn’ (Nynorsk) locale. The most common norwegian locale is Bokmål (nb).
Without wanting to start a language war, I think most norwegians would prefer the ‘nb’ locale. Being able to select either one would be the perfect solution.
<% tp.date.now(“dddd”) %>
Expected result
tirsdag
Actual result
tysdag
Environment
- Operating system: Ubuntu Linux 20.04
- Obsidian version: 0.12.1
➜ ~ locale
LANG=nb_NO.UTF-8
LANGUAGE=nb_NO:en_US:en
…
Nynorsk locale is nn_NO.UTF-8
Additional information
This is not a translation issue. It is about selecting the most preferred momentjs locale for the norwegian language.