Make duration line series use local for time zone value. (#123470) (#123484)

(cherry picked from commit 067da143b6)

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
This commit is contained in:
Kibana Machine 2022-01-20 15:02:13 -05:00 committed by GitHub
parent e603d50f6e
commit 867724df77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,7 @@ export const DurationLineSeriesList = ({ monitorType, lines }: Props) => (
yAccessors={[1]}
yScaleType={ScaleType.Linear}
fit={Fit.Linear}
timeZone="local"
tickFormat={(d) =>
monitorType === 'browser'
? `${microToSec(d)} ${SEC_LABEL}`