Releases: KnpLabs/KnpTimeBundle
Small release with improved Czech translations
Tiny release with improved Slovak Translations
What's Changed
- [translation] add additional Slovak translations by @tito10047 in #209
New Contributors
- @VincentLanglet made their first contribution in #210
- @tito10047 made their first contribution in #209
Full Changelog: v2.2.0...v2.3.0
v2.2.0 Add Symfony 7 support
Hi!
Any easy release. KnpTimeBundle now supports Symfony 7!
What's Changed
- feat: allow symfony 7 by @Chris53897 in #202
Full Changelog: v2.1.1...v2.2.0
Have fun!
New Italian translations for duration & age
2.1.0: New "age" filter & more translations
Hi!
This feature adds a new age
formatter by @seb-jean in #192 & several updated / new translations:
- Update polish translations to be up-to-date by @stloyd in #193
- trans: add german translation for 'age' by @Chris53897 in #194
- add spanish translation for
age
by @seb-jean in #199
Full Changelog: v2.0.2...v2.1.0
Have fun!
v2.0.2 More duration translations
Hi!
This release adds several more translations for the new "duration" feature - thanks to the community!
Changes
- minor: ru duration translations by @kbond in #185
- Duration nb by @ahaaje in #186
- minor: es duration translations by @fabriziofs in #188
- minor: Add missing FR translations by @DennisdeBest in #187
- minor: de duration translations by @Sironheart in #189
- minor: Update time.nl.xliff by @DennisdeBest in #191
Diff: v2.0.1...v2.0.2
Cheers!
Translation fix for certain "durations"
Hi!
This contains a fix for the new duration
functionality where the pluralization %count%
parameter wasn't passed in some cases.
Changes
- Updated duration translation for NB by @ahaaje in #184
- fix: pluralization not being used for duration translations by @kbond in #183
Full Diff: v2.0.0...v2.0.1
Modernized code, PHP 8.1+ & New "duration" capability
Hi!
This release modernizes the codebase, increases the minimum PHP version to 8.1, adds a new "duration" capability and also breaks backwards compatibility (BC) in a few minor ways (hence the new major version!).
PR's
- Modernize Code base by @kbond in #178
- feat: add "duration" formatter by @kbond in #177
- Doc update for 2.0 by @kbond in #180
- minor: use long-form duration message for english by @kbond in #182
CHANGELOG
- Modernize/simplify the code base
- Require PHP 8.1+
- Remove
symfony/templating
integration - Make
DateTimeFormatter
final - Remove
DateTimeFormatter::getDiffMessage()
- Remove
DateTimeFormatter::getDateTimeObject()
- Remove
DateTimeFormatter::getEmptyDiffMessage()
- Add
time_diff
Twig filter as an alias forago
- Add
DateTimeFormatter::formatDuration()
andduration
Twig filter
Full Diff: v1.20.0...v2.0.0
Have fun!
The clock has a new case, but with the same dependable gears to keep it ticking...
Howdy Time Keepers!
We finally got around to updating the structure of KnpTimeBundle
to meet Symfony 5.x standards. In doing so, we've also dropped support for Symfony 4.4 and moved a composer dependency to it's proper home.
v1.20.0
October 11th, 2022
Feature
Diff: v1.19.0...v1.20.0
Enjoy!
v1.19.0
Howdy Time Keepers!
This is a small release that improves the developer experience by making the to
argument optional for DateTimeFormatter::formatDiff()
v1.19.0
May 10th, 2022
Feature
- #169 - [DX] Make "to" argument optional - @weaverryan
Diff: v1.18.0...v1.19.0
Enjoy!