question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid timeZoneName on version 3.108.0 (which can be fixed downgrading to previous Polyfill version)

See original GitHub issue

We use Polyfill on production website without specifying the version (I know we should not have, lesson learned!) loaded from cdn.polyfill.io

We use sentry & trackJS to track errors on our websites and noticed a tremendous amount of errors on TrackJS with error name: Invalid timeZoneName

This error is originating from various browser version including:

  • Firefox 72 / 78 / …
  • Safari 11 / 13 / 14.0 …

We used Browserstack to double check and we indeed had error in console log.

We finally changed the Polyfill version to the previous available on the CDN (v3.101.0) and all the errors vanished and everything is working fine again.

I don’t know if this comes from the 3.108.0 version (or from another version between 3.101 and 3.108) however, I see that some browser seems to be excluded from Intl.DateTime stuff in the latest 3.108.0 compared to 3.107.1 ( commit https://github.com/Financial-Times/polyfill-library/commit/f570a97be095e5a90b7c93859a146405262dce35#diff-dad587b9f55bc3cd01f001ba0e9009ab2c3debcd8f246b4120c4de7296c540e1 by @romainmenke commited by @JakeChampion ) but

NB: By the way anyone knows why https://polyfill.io/v3/polyfill.js?version=3.101.0 gives version 3.101 but https://polyfill.io/v3/polyfill.js?version=3.102.0 / https://polyfill.io/v3/polyfill.js?version=3.103.0 / https://polyfill.io/v3/polyfill.js?version=3.104.0 / till 3.107.1 … all give version 3.108.0 ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
romainmenkecommented, Sep 24, 2021

@Nickinthebox The builder has been updated :

Screenshot 2021-09-24 at 15 30 18
1reaction
Nickintheboxcommented, Sep 21, 2021

I have tried to load the last version with feature Intl.DateTimeFormat.~timeZone.golden and I don’t have the issue anymore 👍

You may add the feature on https://polyfill.io/v3/url-builder/ (if someone has the same issue, he might tried to fix by adding any feature with “timezone” in its name 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ident not right when new line - AstroNvim/AstroNvim - IssueHint
Invalid timeZoneName on version 3.108.0 (which can be fixed downgrading to previous Polyfill version), 10, 2021-09-15, 2022-10-19.
Read more >
Extension hangs on "Preparing to run Bridge To Kubernetes ...
Invalid timeZoneName on version 3.108.0 (which can be fixed downgrading to previous Polyfill version), 10, 2021-09-15, 2022-08-27.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found