bbovenzi commented on a change in pull request #15674:
URL: https://github.com/apache/airflow/pull/15674#discussion_r628216707



##########
File path: airflow/ui/src/components/AppContainer/TimezoneDropdown.tsx
##########
@@ -44,9 +44,9 @@ const TimezoneDropdown: React.FC = () => {
   const timezones = getTimeZones();
 
   let currentTimezone;
-  const options = timezones.map(({ name, currentTimeFormat }) => {
+  const options = timezones.map(({ name, currentTimeFormat, group }) => {
     const label = `${currentTimeFormat.substring(0, 6)} ${name.replace(/_/g, ' 
')}`;
-    if (name === timezone) currentTimezone = { label, value: name };
+    if (name === timezone || group.includes(timezone)) currentTimezone = { 
label, value: name };

Review comment:
       No, I'd need to parse out all the cities and group names for that.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to