Closed
Description
Describe the bug
When using localeData from an instance the error weekdays is not a function
is thrown.
Steps to reproduce:
dayjs().localeData().weekdays()
Using the global function it works:
dayjs.localeData().weekdays()
Expected behavior
localeData returns the same objects for local and global calls.
It is also documented that way: https://day.js.org/docs/en/plugin/locale-data
Information
- Day.js Version 1.8.34