Bernhard P.
Bernhard P.
Could not reproduce your error, neither on Windows nor on Linux. My environments: - Day.js Version 1.12.2 - Windows 10 - Node v16.15.0 And - Day.js Version 1.12.3 - Ubuntu...
At the moment the `dayjs.localeData().ordinal(..)` value is only used by the `advancedFormat` plugin and here the square brackets are interpreted as 'escape characters' and are automatically removed. ~~But to be...
If I understand your problem (using the 'today' variant), you are trying to find out if a date in a given time zone is the same day as in another...
This PR solves issue #596 too.
This PR solves issue #596 too.
These are not 'random values' :-) In both cases dayjs is different from moment. 1. in case of `00/00/0000` the current date is used 2. in case of `54/42/0000` the...
> If it's not random values, I think it will be valuable to add it to the documentation. You are right, that should be part of the documentation. In my...
Would be fixed with pr #1914
a dayjs object just does not have this information. The only item is 'isUTC' that can be acquired by using the corresponding function from the utc plugin (`dayjs.utc().isUTC()`) and the...
What would be the use of parsing the weekday? Wouldn't it be better to parse variable length text (e.g. the name of a weekday) like in issue #571 ?