relative_time
Expresses a DateTime object relative to the current time in text form.
5.0.0
9.6K downloads/mo
#2997 most downloaded on pub.dev
Mosc/relative_time
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 6 months
Nearly every release is documented
notes for 16 of 16 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
17 releases · first in 2022
0 releases in the last 12 months
see the full history below
Release timeline
17 releases · Apr 2022 to Nov 2023
2023
2024
2025
2026
Releases
latest 17-
5.0.007 Nov 2023Release notes
Open source →- BREAKING: Remove Quechua language.
- Add Betawi, Interlingue Occidental and Maori languages.
- Update Basque, Hindi (Latin script), Nepali, Swedish and Syriac translations.
-
4.0.103 May 2023 -
4.0.027 Apr 2023Release notes
Open source →- BREAKING: Use appropriate numbering systems instead of always using Western digits. This affects the following languages:
- Fulah (Adlam digits)
- Arabic and Sindhi (Arabic-Indic digits)
- Persian, Mazanderani, Pashto and Urdu (as used in India) (Extended Arabic-Indic digits)
- Assamese and Bangla (Bangla digits)
- Chakma (Chakma digits)
- Marathi and Nepali (Devanagari digits)
- Burmese (Myanmar digits)
- Dzongkha (Tibetan digits)
- BREAKING: Use appropriate numbering systems instead of always using Western digits. This affects the following languages:
-
3.2.013 Apr 2023Release notes
Open source →- Add Latin, Ligurian, Rohingya, Syriac, Silesian and Torwali languages.
- Add Arabic script to Malay language.
-
3.1.011 Apr 2023Release notes
Open source →- Improve API documentation.
- Reduce size a bit by eliminating redundant entries.
- Bump minimal Dart SDK to 2.19.
- Relax
intlconstraint. - Modernize example app.
-
3.0.028 Jan 2023Release notes
Open source →- BREAKING: Remove support for quarters. It is not commonly used and prevented support for several languages.
- Add Dzongkha, Friulian, Kalaallisut Greenlandic, Lakota, Uyghur and Walser languages.
- Use Adlam script as base variant of the Fulah language.
-
2.2.125 Oct 2022 -
2.2.019 Oct 2022Release notes
Open source →- Add Bodo and Maithili languages.
- Update Lower Sorbian, Esperanto, Persian, Filipino, Irish, Hindi, Macedonian, Maltese, Oriya and Serbian (as used in Bosnia and Herzegovina) translations.
-
2.2.0-beta.118 Sep 2022 pre-releaseNothing published for this version
-
2.1.031 Aug 2022 -
2.0.115 Jul 2022 -
2.0.015 Jul 2022Release notes
Open source →- BREAKING: Introduce separate constructors and extension methods for context and locale based initialization. Prevents potential runtime errors caused by omitting both context and locale parameters.
-
1.2.121 Jun 2022 -
1.2.021 Jun 2022Release notes
Open source →- Prefer natural language over numeric values by default. For instance, 'tomorrow' is used instead of the previous 'in 1 day'.
- Add numeric flag to prefer numeric values over natural language.
-
1.1.014 Jun 2022Release notes
Open source →- Add Esperanto, Luxembourgish and Mazanderani languages.
- Add zero counts for most time units. For instance, if the most granular specified time unit is hours, a difference of less than one hour will be represented as 'this hour' rather than the previous 'now'.
-
1.0.118 Apr 2022 -
1.0.018 Apr 2022