Skip to content

Releases: KnpLabs/KnpTimeBundle

Small release with improved Czech translations

11 Jun 09:39
93e9528
Compare
Choose a tag to compare

v2.4.0

June 10th, 2024

Feature

  • #215 [translations] add additional Czech time translations - @analogic

New Contributors

Full Changelog: v2.3.0...v2.4.0

Tiny release with improved Slovak Translations

06 Jun 11:07
233a463
Compare
Choose a tag to compare

What's Changed

  • [translation] add additional Slovak translations by @tito10047 in #209

New Contributors

Full Changelog: v2.2.0...v2.3.0

v2.2.0 Add Symfony 7 support

13 Nov 19:39
Compare
Choose a tag to compare

Hi!

Any easy release. KnpTimeBundle now supports Symfony 7!

What's Changed

Full Changelog: v2.1.1...v2.2.0

Have fun!

New Italian translations for duration & age

25 Oct 20:40
Compare
Choose a tag to compare

Hi!

A tiny release:

Full Changelog: v2.1.0...v2.1.1

Cheers!

2.1.0: New "age" filter & more translations

07 Sep 14:34
Compare
Choose a tag to compare

Hi!

This feature adds a new age formatter by @seb-jean in #192 & several updated / new translations:

Full Changelog: v2.0.2...v2.1.0

Have fun!

v2.0.2 More duration translations

07 Aug 15:28
Compare
Choose a tag to compare

Hi!

This release adds several more translations for the new "duration" feature - thanks to the community!

Changes

Diff: v2.0.1...v2.0.2

Cheers!

Translation fix for certain "durations"

31 Jul 20:04
Compare
Choose a tag to compare

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

31 Jul 18:25
Compare
Choose a tag to compare

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

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

11 Oct 15:33
81ffad5
Compare
Choose a tag to compare

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

10 May 00:17
56e4d15
Compare
Choose a tag to compare

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

Diff: v1.18.0...v1.19.0

Enjoy!