Skip to content

Commit be5e96f

Browse files
authored
Timezone: Consistency in how we write time zone (grafana#52679)
* Timezone: Consistency in how we write time zone * Updated
1 parent b782d9a commit be5e96f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/grafana-ui/src/components/DateTimePickers/TimeRangePicker/TimePickerFooter.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const TimePickerFooter: FC<Props> = (props) => {
7878
<RadioButtonGroup
7979
value={editMode}
8080
options={[
81-
{ label: 'Time Zone', value: 'tz' },
81+
{ label: 'Time zone', value: 'tz' },
8282
{ label: 'Fiscal year', value: 'fy' },
8383
]}
8484
onChange={setEditMode}

public/app/core/components/OptionsUI/registry.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const getAllOptionEditors = () => {
147147

148148
const timeZone: StandardEditorsRegistryItem<TimeZone> = {
149149
id: 'timezone',
150-
name: 'Time Zone',
150+
name: 'Time zone',
151151
description: 'Time zone selection',
152152
editor: TimeZonePicker as any,
153153
};

public/app/features/dashboard/components/DashboardSettings/TimePickerSettings.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class TimePickerSettings extends PureComponent<Props, State> {
6767
render() {
6868
return (
6969
<CollapsableSection label="Time options" isOpen={true}>
70-
<Field label="Timezone" data-testid={selectors.components.TimeZonePicker.containerV2}>
70+
<Field label="Time zone" data-testid={selectors.components.TimeZonePicker.containerV2}>
7171
<TimeZonePicker
7272
inputId="time-options-input"
7373
includeInternal={true}

public/app/plugins/panel/timeseries/module.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const plugin = new PanelPlugin<TimeSeriesOptions, GraphFieldConfig>(TimeS
1818

1919
builder.addCustomEditor({
2020
id: 'timezones',
21-
name: 'Timezone',
21+
name: 'Time zone',
2222
path: 'timezones',
2323
category: ['Axis'],
2424
editor: TimezonesEditor,

0 commit comments

Comments
 (0)