Skip to content

[PER-10667] Align public gallery date with detail view#1099

Open
aasandei-vsp wants to merge 1 commit into
mainfrom
PER-10667-gallery-items-date
Open

[PER-10667] Align public gallery date with detail view#1099
aasandei-vsp wants to merge 1 commit into
mainfrom
PER-10667-gallery-items-date

Conversation

@aasandei-vsp

@aasandei-vsp aasandei-vsp commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

The public gallery card rendered its date from displayDT (mapped from the API's displayDate), while the detail sidebar reads displayTime || displayDT. For items where those fields diverge, the gallery showed a different date than the detail panel.

Base the public-archive date on the existing startDisplayTime getter (displayTime with EDTF interval-start handling, falling back to displayDT) so the gallery matches the sidebar's field preference. Add spec coverage for the displayTime, displayDT-fallback, and EDTF-interval cases.

Issue: PER-10667

The dates I have found as being inconsistent with the rest of the app was in the gallery, so I have changed it to displayTime/displayDT:
image

The dates in the public folder behave as expected, like in private or shared.
Also, we are not actually supporting a friendly timezone as of now, but we will once the EDTF date will be released.

The public gallery card rendered its date from displayDT (mapped from the
API's displayDate), while the detail sidebar reads displayTime || displayDT.
For items where those fields diverge, the gallery showed a different date
than the detail panel.

Base the public-archive date on the existing startDisplayTime getter
(displayTime with EDTF interval-start handling, falling back to displayDT)
so the gallery matches the sidebar's field preference. Add spec coverage for
the displayTime, displayDT-fallback, and EDTF-interval cases.

Issue: PER-10667
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.23%. Comparing base (17c0975) to head (4323cbd).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1099      +/-   ##
==========================================
+ Coverage   52.15%   52.23%   +0.08%     
==========================================
  Files         354      354              
  Lines       12090    12090              
  Branches     2186     2186              
==========================================
+ Hits         6305     6315      +10     
+ Misses       5560     5549      -11     
- Partials      225      226       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aasandei-vsp aasandei-vsp self-assigned this Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant