Timezone: Consistency in how we write time zone (#52679)

* Timezone: Consistency in how we write time zone

* Updated
This commit is contained in:
Torkel Ödegaard 2022-07-23 17:49:58 +02:00 committed by GitHub
parent b782d9aa12
commit be5e96f628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ export const TimePickerFooter: FC<Props> = (props) => {
<RadioButtonGroup
value={editMode}
options={[
{ label: 'Time Zone', value: 'tz' },
{ label: 'Time zone', value: 'tz' },
{ label: 'Fiscal year', value: 'fy' },
]}
onChange={setEditMode}

View File

@ -147,7 +147,7 @@ export const getAllOptionEditors = () => {
const timeZone: StandardEditorsRegistryItem<TimeZone> = {
id: 'timezone',
name: 'Time Zone',
name: 'Time zone',
description: 'Time zone selection',
editor: TimeZonePicker as any,
};

View File

@ -67,7 +67,7 @@ export class TimePickerSettings extends PureComponent<Props, State> {
render() {
return (
<CollapsableSection label="Time options" isOpen={true}>
<Field label="Timezone" data-testid={selectors.components.TimeZonePicker.containerV2}>
<Field label="Time zone" data-testid={selectors.components.TimeZonePicker.containerV2}>
<TimeZonePicker
inputId="time-options-input"
includeInternal={true}

View File

@ -18,7 +18,7 @@ export const plugin = new PanelPlugin<TimeSeriesOptions, GraphFieldConfig>(TimeS
builder.addCustomEditor({
id: 'timezones',
name: 'Timezone',
name: 'Time zone',
path: 'timezones',
category: ['Axis'],
editor: TimezonesEditor,