Page MenuHomePhabricator

[BUG] Incorrect On This Day dates for Japanese calendar
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce

  1. Change device calendar to Japanese (iOS Settings > General > Language and Region > Calendar
  2. Install app and On This Day widget

Expected results

On this day Explore card and widget shows incorrect relative "years ago" dates

Actual results

On this day Explore card and widget shows correct relative "years ago" dates

Screenshots

IMG_0430.PNG (321×695 px, 461 KB)

IMG_0431.PNG (321×695 px, 1 MB)

Environments observed

App version: 7.5.9 (4044)
OS versions: iOS 17.7
Device model: iPhone 12 Pro Max
Device language: EN

Event Timeline

HNordeenWMF moved this task from Needs Triage to Bug Backlog on the Wikipedia-iOS-App board.

For Buddhist calendar, it looks like the date calculations are suppressed. One solution could be to suppress the calculations for the Japanese calendar.

Hello, I created a PR for this.
PR