Bernhard P.
Bernhard P.
m locale would be 'de' but I suppose it is using the default ('en').
aah, you got it; the dot is handled by dayjs parsing as a format token and not as a 'separator'. At the moment I cannot test it on my sytem,...
So I will take a look at the code, if the dot can be handled in such a scenario - perhaps my pt #1940 can help - but we will...
I've made some tests and the issue could be easily fixed by adding a dot to the regex of matchWord (line 12 in customParseFormat.js). The line should be: `const matchWord...
it is correct that dayjs.weekdays() returns an array with the names of the weekdays. In the 'en' locale this list looks like: ``` [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday",...
I created a little test for this and it ran without problems. Did you omit the required `dayjs.extend(updateLocale)` in your code samples above by design?
I added a demo for your use case in my [dayjs-with-typescript-project](https://github.com/BePo65/dayjs-typescript-demo/tree/master/src) and it ran as expected (using `npm run build && node dist/issue1961.unmodified.js`). The only difference is that I dropped...
I used my windows wsl to run the tests and it showed no errors. I only get a deprecation warning from node. My configuration is: Ubuntu 20.04.4 LTS node v16.15.1...
You are right: the calendar plugin texts are not part of the localization (but for sure should be). So IMHO this is a feature request (perhaps you should change the...
I would interpret the last comment in this issue as @iamkun is not against localizing these texts (as long as the size of the bundle is not significantly increased. So...