Skip to content

Timezone - App detects incorrect timezone when automatic timezone is enabled #34247

Closed

Description

@lanitochka17

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.24-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

Precondition:

  • Device timezone is set to automatic
  • App timezone is set to automatic
  • User lives in Malaysia with GMT+8 (Asia/Kuala_Lumpur) timezone
  1. Go to Settings > Profile > Timezone

Expected Result:

The correct timezone is detected

Actual Result:

The incorrect timezone is detected
User lives in Malaysia with GMT+8 (Asia/Kuala_Lumpur) timezone, while app shows Asia/Singapore as the automatic timezone, where Singapore is a neigbor of Malaysia

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6337781_1704899025363!bandicam_2024-01-10_18-36-36-107__1_

Bug6337781_1704899025363.Screen_Recording_20240110_224011_New_Expensify.mp4

Bug6337781_1704899025367!IMG_1583

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    on Jan 10, 2024
  2. github-actions commented on Jan 10, 2024

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  3. melvin-bot commented on Jan 10, 2024

    @melvin-bot

    Triggered auto assignment to @marcochavezf (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  4. shubham1206agra commented on Jan 10, 2024

    @shubham1206agra
    Contributor

    Offending PR #31074

  5. shubham1206agra commented on Jan 10, 2024

    @shubham1206agra
    Contributor

    Not a big deal tbh. Both have same timezone.

  6. situchan commented on Jan 10, 2024

    @situchan
    Contributor

    This is not new bug - #31074 (comment)

  7. situchan commented on Jan 10, 2024

    @situchan
    Contributor

    @tienifr please check this

  8. tienifr commented on Jan 10, 2024

    @tienifr
    Contributor

    Sure let me take a look.

  9. tienifr commented on Jan 10, 2024

    @tienifr
    Contributor

    Asia/Kuala_Lumpur is an obsolete timezone and linked to Asia/Singapore instead (reference). But they all point to the same timezone GMT+8 so not a big deal.

  10. situchan commented on Jan 10, 2024

    @situchan
    Contributor

    ok I will defer to @marcochavezf whether to treat this as bug or not. At least not deploy blocker

  11. marcochavezf commented on Jan 10, 2024

    @marcochavezf
    Contributor

    Thanks for the investigation @tienifr, I suppose the change is because of the new polyfill, correct? Also, given the reason here and the priorities I'm inclined to close it, we can re-open it if there other impacts of the introduced polyfill.

  12. removed
    DeployBlockerCash
    on Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions