Skip to content

Update dependency knplabs/knp-time-bundle to v2

Renovate Bot requested to merge renovate/knplabs-knp-time-bundle-2.x into master

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"

Compare Source

Hi!

This contains a fix for the new duration functionality where the pluralization %count% parameter wasn't passed in some cases.

Changes

Full Diff: https://github.com/KnpLabs/KnpTimeBundle/compare/v2.0.0...v2.0.1

v2.0.0

Compare Source

  • 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 for ago
  • Add DateTimeFormatter::formatDuration() and duration Twig filter

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading