-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
remove useUTC deprecation, set default timezone to local #22696
Conversation
cf49c11
to
d5035d0
Compare
src/server/config/schema.js
Outdated
@@ -186,7 +186,7 @@ export default () => Joi.object({ | |||
then: Joi.default(!process.stdout.isTTY), | |||
otherwise: Joi.default(true) | |||
}), | |||
timezone: Joi.string().allow(false).default('UTC') | |||
timezone: Joi.string().allow(false).default(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
by false this means don't set it, which uses moments default (local timezone). i was hesitant to add a non-standard string to the list.
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
💔 Build Failed |
Pinging @elastic/kibana-operations |
💔 Build Failed |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Followup to #21561, 8.0 only.
Removes our deprecation notice and sets the default timezone to the host machines timezone.
Closes #12175