This repository was archived by the owner on Oct 28, 2026. It is now read-only.
Repository navigation
v3.0.0
BREAKING CHANGES!
- Improved error handling. The
Parsefunction now returns an error as the second returned value - Update package namespace. Changed package namespace to
github.com/SerhiiCho/timeago/v3 - Rename a function. Renamed
SetConfigfunction toConfigureto make it better fit into Go naming conventions - New language files structure. Change the file structure for
JSONlanguage files. They have now format to match CLDR Specifications - New language addition is improved. Add ability to change the output of the
Parsefunction when adding a support for a new language by adding aformatfield to aJSONfile - New function
Reconfigure. Added a new function to reconfigure the package configurations. Unlike theConfigurefunction, it will overwrite the previous configurations with the new ones.