Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Knp Time Bundle Laravel Package

knplabs/knp-time-bundle

View on GitHub
Deep Wiki
Context7
v2.4.0

v2.4.0

June 10th, 2024

Feature

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

New Contributors

Full Changelog: https://github.com/KnpLabs/KnpTimeBundle/compare/v2.3.0...v2.4.0

v2.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/KnpLabs/KnpTimeBundle/compare/v2.2.0...v2.3.0

v2.2.0

Hi!

Any easy release. KnpTimeBundle now supports Symfony 7!

What's Changed

Full Changelog: https://github.com/KnpLabs/KnpTimeBundle/compare/v2.1.1...v2.2.0

Have fun!

v2.1.1

Hi!

A tiny release:

Full Changelog: https://github.com/KnpLabs/KnpTimeBundle/compare/v2.1.0...v2.1.1

Cheers!

v2.1.0

Hi!

This feature adds a new age formatter by @seb-jean in https://github.com/KnpLabs/KnpTimeBundle/pull/192 & several updated / new translations:

Full Changelog: https://github.com/KnpLabs/KnpTimeBundle/compare/v2.0.2...v2.1.0

Have fun!

v2.0.2

Hi!

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

Changes

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

Cheers!

v2.0.1

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

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: https://github.com/KnpLabs/KnpTimeBundle/compare/v1.20.0...v2.0.0

Have fun!

v1.20.0

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: https://github.com/knplabs/knptimebundle/compare/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

Diff: https://github.com/knplabs/knptimebundle/compare/v1.18.0...v1.19.0

Enjoy!

v1.18.0

Howdy Friends!

This release contains a small fix to handle initializing \DateTime() objects w/ null instead of a string.

See #164 for the fix.

Diff: https://github.com/knplabs/knptimebundle/compare/1.17.0...v1.18.0

Happy Time Keeping!

1.17.0

Hi friends!

This release introduces support for Symfony 6!

Happy Time Keeping!

v1.17.0

October 28th, 2021

Feature

v1.16.1

Hi friends!

This is a small release with a translation fix for all of our Polish friends out there.

Happy Time Keeping!

v1.16.1

July 13th, 2021

Bug Fix

  • #158 - Fixed strange construction "za dzień" to "jutro" - @KerbenII
v1.16.0

Hi friends!

This is a pretty boring release! In #156, the minimum PHP version was bumped to 7.2.5 and Symfony 3 support was dropped. If you were still using any of these, you're overdue for an upgrade anyways ;).

Have fun!

v1.15.0

Hi friends!

This release contains a few new features:

  • #152 The ability to control the translation locale each time you use |ago - thanks to @jpgiroux
  • #150 Norwegian translations - thanks to @jon-harald
  • #153 Introduction of return and parameter hints - thanks to @jrushlow

Have fun!

v1.14.0

Hi friends!

This tiny release makes the bundle installable on PHP 8.

Thanks to @m-vo in #147 for the contribution!

Cheers!

v1.13.0

Hi!

This release removes the requirement of symfony/templating. You can still install this and this bundle supports it - but it is no longer needed.

See #141 for details - thanks to @kbond!

Cheers!

v1.12.0

Hi there!

Minor release containing some new languages and a change to the Serbian translations:

  • #109: The sr_Latin language was modified and sr_Latn was fully removed as a duplicate thanks to @ljubar
  • #136 Added Thai translations thanks to @Seb33300
  • #137 Added Bulgarian translations thanks to @ggabrovski

Happy ago'ing!

v1.11.0

Hi!

Version 1.10.0, which added Symfony 5 support, we a little incomplete, as it was not compatible with Twig 3.

This release fixes this, and also drops support for PHP 5.6, 7.0 and unmaintained Symfony versions 2.8, 4.0, 4.1 and 4.2).

Have fun!

v1.10.0

Hi!

Just a small release to add support for Symfony 5 and remove support for Symfony 2.x and PHP 5.5.

Have fun!

v1.9.1
  • Fix symfony < 4.2 BC for transChoice #117
1.9.0
  • Fix symfony 4.2 transChoice deprecation (#111)

Thanks @dirkkredler for their help.

1.8.0

Woohoo! #104

1.7.5

Fix romanian translation

1.7.4
  • Add .gitattributes (see #95)
  • Add Slovak translation (see #97)
1.7.3

New translation: Esparanto #94

1.7.2

See #92

1.7.1
  • Just new Catalan translations! - #91
1.7.0

PHP 5.5 is now the minimum required version as of version 1.7.0.

Also:

  • DateTimeInterface is now supported (so you can use DateTimeImmutable objects) (#87)
  • New Finnish translation (#88)
  • Polish translation pluralization bug fix (#89)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware