We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e0921 commit e454842Copy full SHA for e454842
src/relative-time-element.ts
@@ -245,7 +245,7 @@ export class RelativeTimeElement extends HTMLElement implements Intl.DateTimeFor
245
if (format === 'duration') return false
246
247
// Override for user preferences; used sparingly to preserve intended relative formatting in some places
248
- if (this.hasAttribute('ignore-user-time-preference')) return false
+ if (this.hasAttribute('disable-preference-override')) return false
249
250
return (
251
this.ownerDocument.documentElement.getAttribute('data-prefers-absolute-time') === 'true' ||
0 commit comments