v3.2.0
What's Changed
This release includes a large rewrite of the component with many new features that allow for fine-grained control over the display of the date. Existing uses will work as they always have, but a set of new attributes provide detailed control about how dates get rendered!
- Update README.md by @josepmartins in #171
- Fix closing tag for
time-until
in documentation by @meduzen in #172 - move AOR to primer by @keithamus in #173
- fix lang on relative-time day ordering by @keithamus in #175
- Custom format by @keithamus in #177
- switch from karma to web-test-runner by @keithamus in #178
- Use esbuild by @keithamus in #179
- Split strftime out by @keithamus in #180
- add tense to relative-time by @keithamus in #181
- simplify time-until/ago elements by @keithamus in #182
- Extract tostring from relative time into element by @keithamus in #183
- Add threshold by @keithamus in #184
- Refactor relative time by @koddsson in #185
- Inline utilities only used in
<relative-time>
by @koddsson in #186 - Inline extended time element into relative time by @keithamus in #187
- add relative-time tests for local-time by @keithamus in #188
- add setters for all attributes by @keithamus in #189
- RelativeTimeElement: Progressive time update intervals by @keithamus in #190
- Add custome elements manifest by @keithamus in #191
- Switch element to defining content within ShadowDOM by @keithamus in #193
- Update readme by @keithamus in #192
- Local time refactor by @keithamus in #194
- add tests for ponyfills by @keithamus in #195
- refactor relative-time to remove RelativeTimeFormat by @keithamus in #196
- inline utils functions by @keithamus in #197
- Make duration class by @keithamus in #198
- Minor cleanups by @keithamus in #199
New Contributors
- @josepmartins made their first contribution in #171
- @meduzen made their first contribution in #172
Full Changelog: v3.1.4...v3.2.0