Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console error after setting any custom timezone: Moment Timezone has no data for ... #24163

Closed
bvlgn opened this issue Jul 23, 2020 · 1 comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@bvlgn
Copy link

bvlgn commented Jul 23, 2020

Since Gutenberg 8.5, setting a custom time zone will result in a console error (by moment,js).

Steps to reproduce the behavior:

  1. Activate Gutenberg 8.5/8.6
  2. Go to Settings,
  3. Set TImezone to for example 'Amsterdam' + Save
  4. Edit any page, show Developer Tools
  5. See console error:
    Moment Timezone has no data for Europe/Amsterdam. See http://momentjs.com/timezone/docs/#/data-loading/.

console-error

  • Tested on fresh Local site with WP 5.4
@bvlgn bvlgn changed the title Console error: Moment Timezone has no data for Europe/Amsterdam. Console error after setting any custom timezone: Moment Timezone has no data for ... Jul 24, 2020
@ocean90
Copy link
Member

ocean90 commented Jul 26, 2020

Thanks for the report, this is already being tracked in #22193.

@ocean90 ocean90 closed this as completed Jul 26, 2020
@ocean90 ocean90 added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants