Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(input-time-zone): allow searching offsets by Etc/x time zone #7978

Merged

Conversation

jcfranco
Copy link
Member

Related Issue: #7957

Summary

This extended search behavior allows users to find Etc/GMT+12, which would not appear before as it did not have a IANA identifier tied to a city.

Note: this bumps timezone-groups to v0.8.0 which ensures all Etc/x time zones are included in all groups.

@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Oct 11, 2023
@jcfranco jcfranco added p - high Issue should be addressed in the current milestone, impacts component or core functionality pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Oct 11, 2023
const page = await newE2EPage();
await page.emulateTimezone(testTimeZoneNamesAndOffsets[0].name);
await page.setContent(
await addTimeZoneNamePolyfill(html` <calcite-input-time-zone></calcite-input-time-zone>`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: remove the extra space after html`

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Need to do a sweep of these. I think my IDE may be adding those extra spaces. 😅

Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@anveshmekala anveshmekala merged commit 2c34b42 into main Oct 11, 2023
@anveshmekala anveshmekala deleted the jcfranco/7957-allow-searching-offsets-by-etc/x-time-zone branch October 11, 2023 21:06
@github-actions github-actions bot added this to the 1.9.2 Maintenance Release milestone Oct 11, 2023
geospatialem pushed a commit that referenced this pull request Oct 12, 2023
🤖 I have created a release *beep* *boop*
---


<details><summary>@esri/calcite-components: 1.9.2</summary>

##
[1.9.2](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected])
(2023-10-12)


### Bug Fixes

* **flow-item:** Update collapsed property when collapse button is
clicked
([#7960](#7960))
([f6fd55f](f6fd55f))
* **input-time-zone:** Allow searching offsets by Etc/x time zone
([#7978](#7978))
([2c34b42](2c34b42))
* **input-time-zone:** Fix error caused by time zone group filtering
([#7971](#7971))
([521673e](521673e))
* **table:** Improve scrollbar display
([#7967](#7967))
([593a1bf](593a1bf))
</details>

<details><summary>@esri/calcite-components-react: 1.9.2</summary>

##
[1.9.2](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected])
(2023-10-12)


### Miscellaneous Chores

* **@esri/calcite-components-react:** Synchronize undefined versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^1.9.2-next.3 to ^1.9.2
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. p - high Issue should be addressed in the current milestone, impacts component or core functionality pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants