timeago library
Classes
- AmMessages
- Amharic Messages
- AmShortMessages
- Amharic short Messages
- ArMessages
- Arabic Messages
- ArShortMessages
- Arabic short Messages
- AzMessages
- Azeri Messages
- AzShortMessages
- Azeri short Messages
- BeMessages
- Belarusian messages (code based by russian and ukrainian translations)
- BeShortMessages
- BsMessages
- Bosnian Messages
- BsShortMessages
- Bosnian short Messages
- CaMessages
- Catalan Messages
- CaShortMessages
- Catalan short Messages
- CsMessages
- Czech Messages
- CsShortMessages
- Czech short Messages
- DaMessages
- Danish Messages
- DaShortMessages
- Danish short Messages
- DeMessages
- German Messages
- DeShortMessages
- German short Messages
- DvMessages
- Divehi Messages
- DvShortMessages
- Divehi short Messages
- EnMessages
- English Messages
- EnShortMessages
- English short Messages
- EsMessages
- Spanish Messages
- EsShortMessages
- Spanish short Messages
- EtMessages
- Estonian Messages
- EtShortMessages
- Estonian short Messages
- FaMessages
- Farsi Messages
- FiMessages
- Finnish Messages
- FiShortMessages
- Finnish short Messages
- FrMessages
- French messages
- FrShortMessages
- French shott messages
- GrMessages
- Greek messages
- GrShortMessages
- Greek short messages
- HeMessages
- Hebrew Messages
- HeShortMessages
- Hebrew short Messages
- HiMessages
- Hindi Messages
- HiShortMessages
- Hindi short Messages
- HrMessages
- Croatian messages
- HuMessages
- Hungarian Messages
- HuShortMessages
- Hungarian short Messages
- IdMessages
- Indonesian messages
- IdShortMessages
- Indonesian short Messages
- ItMessages
- Italian messages
- ItShortMessages
- Italian short messages
- JaMessages
- Japanese messages
- KmMessages
- Cambodian messages
- KmShortMessages
- Cambodian short messages
- KoMessages
- Korean messages
- KuMessages
- Kurdish messages
- KuShortMessages
- Kurdish short messages
- LookupMessages
- LookupMessages template for any language
- LvMessages
- Russian messages
- LvShortMessages
- MnMessages
- Mongolian Messages
- MnShortMessages
- Mongolian short Messages
- MsMyMessages
- Malay-Malaysia messages
- MsMyShortMessages
- Malay-Malaysia short messages
- MyMessages
- Myanmar Messages မြန်မာစာ
- MyShortMessages
- Myanmar short Messages
- NbNoMessages
- Norwegian-Bokm-Norway messages
- NbNoShortMessages
- Norwegian-Bokm-Norway short messages
- NlMessages
- Dutch messages
- NlShortMessages
- Dutch short messages
- NnNoMessages
- Norwegian-Nynorsk-Norway messgages
- NnNoShortMessages
- Norwegian-Nynorsk-Norway short messgages
- PlMessages
- Polish messgages
- PtBrMessages
- Portuguese-Brazil messages
- PtBrShortMessages
- Portuguese-Brazil short messages
- RoMessages
- Romanian messages
- RoShortMessages
- Romanian short messages
- RuMessages
- Russian messages
- RuShortMessages
- RwMessages
- Kinyarwanda Messages
- RwShortMessages
- Kinyarwanda short Messages
- ShortMessages
- Urdu short Messages
- SrMessages
- Serbian Messages
- SrShortMessages
- Serbian short Messages
- SvMessages
- Swedish messages
- SvShortMessages
- Swedish Short messages
- TaMessages
- Tamil messages
- ThMessages
- Thai messages
- ThShortMessages
- Thai short messages
- TkMessages
- Turkish messages
- TrMessages
- Turkish messages
- TrShortMessages
- Turkish short Messages
- UkMessages
- Ukrainian messages
- UkShortMessages
- UrMessages
- Urdu Messages
- ViMessages
- Vietnamese messages
- ViShortMessages
- Vietnamese short messages
- ZhCnMessages
- Chinese-China messages
- ZhMessages
- Chinese messages
Functions
-
acmoConvertToUrduNumbers(
int input) → String -
format(
DateTime date, {String? locale, DateTime? clock, bool allowFromNow = false}) → String -
Formats provided
date
to a fuzzy time like 'a moment ago' -
setDefaultLocale(
String locale) → void -
Sets the default
locale
. By default it isen
. -
setLocaleMessages(
String locale, LookupMessages lookupMessages) → void -
Sets a
locale
with the providedlookupMessages
to be available when using the format function.