Skip to content

Add ChartDateFormatter and wire into header#218

Merged
gemdev111 merged 2 commits intomainfrom
chart-date-formatting
Apr 24, 2026
Merged

Add ChartDateFormatter and wire into header#218
gemdev111 merged 2 commits intomainfrom
chart-date-formatting

Conversation

@gemdev111
Copy link
Copy Markdown
Contributor

Introduce ChartDateFormatter to centralize chart date rendering (supports locale/timeZone and relative strings). Add unit tests for various periods and locales. Update Package.swift to include the Formatters dependency and update ChartHeaderViewModel to accept/use ChartDateFormatter (replacing inline formatting logic).

iamges:

image image

closes #160

Introduce ChartDateFormatter to centralize chart date rendering (supports locale/timeZone and relative strings). Add unit tests for various periods and locales. Update Package.swift to include the Formatters dependency and update ChartHeaderViewModel to accept/use ChartDateFormatter (replacing inline formatting logic).
@gemdev111 gemdev111 self-assigned this Apr 24, 2026
@gemdev111 gemdev111 merged commit 2440b29 into main Apr 24, 2026
2 of 5 checks passed
@gemdev111 gemdev111 deleted the chart-date-formatting branch April 24, 2026 17:16
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.

Charts Improvements

2 participants