Update dependency knplabs/knp-time-bundle to v2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
knplabs/knp-time-bundle | require | major |
^1.20 -> ^2.0
|
Release Notes
KnpLabs/KnpTimeBundle (knplabs/knp-time-bundle)
v2.0.1
: 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 https://github.com/KnpLabs/KnpTimeBundle/pull/184
- fix: pluralization not being used for duration translations by @kbond in https://github.com/KnpLabs/KnpTimeBundle/pull/183
Full Diff: https://github.com/KnpLabs/KnpTimeBundle/compare/v2.0.0...v2.0.1
v2.0.0
- 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
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.