Relative Time Add-On - Vaadin Add-on Directory
Component for rendering dates as auto-updating, locale-aware relative time stringsJava API for [@github/relative-time-element](https://github.com/github/relative-time-element)
#### Features
* Renders a date/time as a human-readable relative string ("4 hours from now", "3 days ago", "in 2 weeks") that updates in the browser as time passes.
* Accepts the standard `java.time` types (`Instant`, `OffsetDateTime`, `ZonedDateTime`, `LocalDateTime`, `LocalDate`).
* Typed Java API for attributes: tense, format, precision, format style, threshold, prefix, locale, time-zone, and per-part absolute-date formatting (year/month/day/weekday/hour/minute/second).
#### Found a bug or have a suggestion? Report it on GitHub
For bug reports, feature suggestions, or questions, please open an issue on [GitHub](https://github.com/FlowingCode/RelativeTime/issues). This makes it easier for us to track and respond efficiently, ensuring you get the best possible support. Your input helps us improve—thank you!
Issue trackerAuthor Homepage
View on GitHub
Online Demo
Relative Time Add-On version 1.0.0
Initial implementation