Skip to content

Add date provider and resolvable date formatting support - #1009

Merged
Kyle-Ye merged 21 commits into
mainfrom
feature/date_provider
Aug 22, 2026
Merged

Kyle-Ye merged 21 commits into
mainfrom
feature/date_provider

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Aug 22, 2026

Copy link
Copy Markdown
Member

Summary

  • add date formatting context and date/date-interval provider SPI with localized resources
  • integrate current date and date interval representations with resolvable string invalidation and timeline schedules
  • add serialization support for date, timer metadata, and text alignment
  • package date provider resources for SwiftPM and XCFramework distributions while preserving non-Darwin compatibility
  • add coverage for provider formatting, localization, configuration coding and reduction, and timeline scheduling

@github-actions github-actions Bot added area: animation Animation, transitions, transactions, or timing behavior. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. area: text Text, labels, line style, and text rendering APIs. type: feature New API, behavior, platform support, or user-facing capability. labels Aug 22, 2026
@codecov

codecov Bot commented Aug 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 58.09524% with 220 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.95%. Comparing base (b04d4de) to head (e38f568).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...Core/View/Text/Resolve/ResolvableCurrentDate.swift 13.59% 89 Missing ⚠️
...wiftUICore/View/Text/Resolve/ResolvableTimer.swift 0.00% 72 Missing ⚠️
...ore/View/Text/Resolve/ResolvableDateInterval.swift 0.00% 31 Missing ⚠️
...enSwiftUICore/Layout/Alignment/TextAlignment.swift 0.00% 10 Missing ⚠️
...e/Animation/Timeline/AlignedTimelineSchedule.swift 85.71% 7 Missing ⚠️
...ore/Animation/Timeline/TimerTimelineSchedule.swift 94.73% 7 Missing ⚠️
.../ConfigurationBasedResolvableStringAttribute.swift 98.40% 2 Missing ⚠️
...olve/ProviderBackedResolvableStringAttribute.swift 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1009       +/-   ##
===========================================
+ Coverage   15.34%   27.95%   +12.60%     
===========================================
  Files         702      750       +48     
  Lines       50398    57730     +7332     
===========================================
+ Hits         7736    16137     +8401     
+ Misses      42662    41593     -1069     

☔ 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.

@tuist

tuist Bot commented Aug 22, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI ✅ 0 % 82 0 82 e5a9e3384

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 2m 2s e5a9e3384

@Kyle-Ye
Kyle-Ye merged commit cb5891b into main Aug 22, 2026
8 of 9 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/date_provider branch August 22, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: animation Animation, transitions, transactions, or timing behavior. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. area: text Text, labels, line style, and text rendering APIs. type: feature New API, behavior, platform support, or user-facing capability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant