You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the @nuxtjs/dayjs module v1.4.1 in my Nuxt 2 project. I need to guess the user's timezone and set a datetime in their timezone. When I try to run my JS, I get an error telling me it's not a function, what am I missing?
// Day JS configdayjs: {locales: ['en'],defaultLocale: 'en',plugins: ['utc','timezone','relativeTime','advancedFormat','localizedFormat','customParseFormat']},
Called like in a function:
this.$dayjs().tz.guess()
returns error:
this.$dayjs(...).tz.guess is not a function
The text was updated successfully, but these errors were encountered:
I'm using the
@nuxtjs/dayjs
module v1.4.1 in my Nuxt 2 project. I need to guess the user's timezone and set a datetime in their timezone. When I try to run my JS, I get an error telling me it's not a function, what am I missing?Called like in a function:
returns error:
The text was updated successfully, but these errors were encountered: