Skip to content

MomentTimezoneDataPlugin: Unknown options provided (defaultTimezone)  #75

Open
@jamesw-platinumseed

Description

@jamesw-platinumseed

Following your instructions for setting a default TimeZone I get the error:

 MomentTimezoneDataPlugin: Unknown options provided (defaultTimezone). Supported options are: matchZones, matchCountries, startYear, endYear, cacheDir.

here is nuxt.config.js :

moment: {
   timezone: {
     defaultTimezone: 'America/Los_Angeles',
     matchCountries: 'US',
     startYear: 2020
   }
 },

Any other suggestions? I just need to make sure all dates and times are in PST - no matter where in the world a user is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions