Skip to content

feat(xy): switch default timezone to local (#1544) [40.x]#1555

Merged
nickofthyme merged 1 commit intoelastic:40.xfrom
nickofthyme:backport/40.x/pr-1544
Jan 18, 2022
Merged

feat(xy): switch default timezone to local (#1544) [40.x]#1555
nickofthyme merged 1 commit intoelastic:40.xfrom
nickofthyme:backport/40.x/pr-1544

Conversation

@nickofthyme
Copy link
Collaborator

Backports the following commits to 40.x:

The default timezone used when no timezone prop is provided is now aligned to the browser's local timezone.

BREAKING CHANGE: The time axis labels of a time-series chart configured without the timeZone prop are now rendering the labels with the local browser timezone instead of UTC.
@nickofthyme nickofthyme changed the title fix(xy): switch default timezone to local (#1544) [40.x] feat(xy): switch default timezone to local (#1544) [40.x] Jan 18, 2022
@nickofthyme nickofthyme merged this pull request into elastic:40.x Jan 18, 2022
@nickofthyme nickofthyme deleted the backport/40.x/pr-1544 branch January 18, 2022 16:23
nickofthyme added a commit that referenced this pull request Jan 18, 2022
The default timezone used when no timezone prop is provided is now aligned to the browser's local timezone.

These changes break the time axis labels of a time-series chart configured without the timeZone prop are now rendering the labels with the local browser timezone instead of UTC.

Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
nickofthyme pushed a commit that referenced this pull request Jan 18, 2022
# [40.3.0](v40.2.0...v40.3.0) (2022-01-18)

### Features

* **xy:** switch default timezone to `local` ([#1544](#1544)) ([#1555](#1555)) ([34b848d](34b848d))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants