any_timeago 2.1.0
any_timeago: ^2.1.0 copied to clipboard
Feature-rich relative-time formatting for Flutter with four presentation formats, 197 localizations, customizable output, and synchronized live-updating widgets.
2.1.0 #
- Add
TimeAgoResult.nextCutoffto expose the nearest pending cutoff that will replace the normal result, without replacing or requiring the same effective unit as the selected value step.
2.0.0 #
- Add opt-in
steps/intl_calendar.dartpresets for fully localized minute-to-calendar feed timestamps, with and without seconds. - Add CLDR 48.1 yesterday, today, and tomorrow labels plus fixed and relative date-time combination patterns to every bundled locale.
- Add fallback-aware localized clock formatting through
TimeAgoLocaleFunctions.formatTime(). - Split step presets into
steps/basic.dart,steps/intl_twitter.dart, andsteps/intl_calendar.dart. The main library exports only the basic presets. - Breaking:
LocaleConfigconstruction now requiresTimeAgoCalendarLabelsthrough thecalendarargument. - Breaking: Code that implements
TimeAgoLocaleFunctionsmust implementformatTime(). Code that extends a bundled implementation inherits its default. - Breaking: Move the Twitter presets out of
TimeAgoSteps. Importsteps/intl_twitter.dartwith a prefix and migrate:TimeAgoSteps.twittertotwitter.stepsTimeAgoSteps.twitterNowtotwitter.stepsNowTimeAgoSteps.twitterFromMinutetotwitter.stepsFromMinuteTimeAgoSteps.twitterFromMinuteNowtotwitter.stepsFromMinuteNowTimeAgoSteps.twitterFirstMinutetotwitter.stepsFirstMinute
1.1.0 #
- Add structured pre-format values to
TimeAgoResultthrough the newTimeAgoValuerecord type. - Add
TimeAgoUnit.upperBound()and configurable default next-unit relationships. - Add
TimeAgoRendererfor reusableTimeAgoResultrendering and live subscription coordination. - Refactor
TimeAgoBuilderto useTimeAgoRendererand theBuildContextformatting extensions. - Breaking: Direct
TimeAgoResultconstruction now requires an explicit values list.
1.0.1 #
- Broaden
intlcompatibility to support Flutter SDK-pinned versions from 0.18.0 through 0.20.x.
1.0.0 #
- Initial commit
