mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Timezone: Consistency in how we write time zone (#52679)
* Timezone: Consistency in how we write time zone * Updated
This commit is contained in:
parent
b782d9aa12
commit
be5e96f628
@ -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}
|
||||
|
@ -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,
|
||||
};
|
||||
|
@ -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}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user