diff --git a/packages/grafana-ui/src/components/DateTimePickers/TimeZonePicker/TimeZoneOption.tsx b/packages/grafana-ui/src/components/DateTimePickers/TimeZonePicker/TimeZoneOption.tsx index 4ee68fd73fd..cfe89819af9 100644 --- a/packages/grafana-ui/src/components/DateTimePickers/TimeZonePicker/TimeZoneOption.tsx +++ b/packages/grafana-ui/src/components/DateTimePickers/TimeZonePicker/TimeZoneOption.tsx @@ -33,16 +33,24 @@ export const WideTimeZoneOption: React.FC> = (props, re return null; } + const timeZoneInfo = getTimeZoneInfo(data.value, timestamp); + return (
- +
- + {isSelected && ( @@ -65,6 +73,8 @@ export const CompactTimeZoneOption: React.FC> = (props, return null; } + const timeZoneInfo = getTimeZoneInfo(data.value, timestamp); + return (
@@ -82,10 +92,16 @@ export const CompactTimeZoneOption: React.FC> = (props,
- +
- +