yavin-dev / framework

A framework for rapidly building production quality analytics applications
https://yavin.dev
MIT License
84 stars 35 forks source link

Fix: Perspective should default timeDimensions to UTC #1698

Closed kevinhinterlong closed 2 years ago

kevinhinterlong commented 2 years ago

Description

Adds a polyfill for Intl.supportedValuesOf and Intl.DateTimeFormat and forcefully adds the 'UTC' timeZone to supportedValuesOf if it is supported.

Also reverts the schema change for using date on day aligned grains and instead sets the timeStyle to disabled to allow for using UTC timeZone

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.