Repository navigation
feat(RelativeTime): expose the compact absolute-time preset - #8804
tay1orjones wants to merge 3 commits into
Conversation
🦋 Changeset detectedLatest commit: 29aa400 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
|
@copilot
5.4.0 also ships other fixes: calendar-day "yesterday" and "tomorrow", tabular numerals, and relative text for past times under a minute. If a Keep the PR in draft. Don't touch github-ui. |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Updated in The local install used |
|
RelativeTimecan now shorten absolute timestamps without changing when they appear. The element still owns formatting and preserves the full timestamp title.Changelog
New
absoluteFormat="compact"shows localized today with 12-hour time or a date with its year. It omits the visible time zone and overridesprefix,formatStyle, and individual display fields.Changed
absoluteFormatrestores standard output without remounting the element.Removed
Rollout strategy
Keep in draft. Upstream issue #404 · Implementation PR #405. Tested the package built from
84ab6dc47882f5e487a46059a13b340076c33e06. The rechecked head,adfbb14, changes only initial rollover scheduling and its tests.The latest verified release,
5.3.1, does not expose the prop. The committed dependency is unchanged, so type checking and the compact browser cases remain blocked. Before merge, require a published version with the runtime property and declarations, regenerate the root lockfile, and rerun CI.Testing & Reviewing
datetime, titles,noTitle, or the UTC hydration fallback. With the absolute preference off, relative output stays relative.