From ce767ccb6a658cab0b6778148bcdb0cc030399b7 Mon Sep 17 00:00:00 2001 From: Lindsey Wild <35239154+lindseywild@users.noreply.github.com> Date: Wed, 29 May 2024 17:23:40 +0000 Subject: [PATCH 01/10] Adds flag to optionally hide title attribute --- examples/index.html | 11 +++++++++-- src/relative-time-element.ts | 7 ++++++- test/relative-time.js | 16 ++++++++++++++++ 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/examples/index.html b/examples/index.html index 2dfeee8..8b7cc58 100644 --- a/examples/index.html +++ b/examples/index.html @@ -21,6 +21,13 @@

Format DateTime

+

+ Hide title attribute: + + Jan 1 1970 + +

+

Customised options: @@ -185,8 +192,8 @@

Localised Dates

- - + + - + + + + - + +