KnpTimeBundle icon indicating copy to clipboard operation
KnpTimeBundle copied to clipboard

Provides helpers for time manipulation

Results 22 KnpTimeBundle issues
Sort by recently updated
recently updated
newest added

- Bumps minimum Symfony version to `5.4` - refactors bundle to use Symfony 5.x bundle standards. - removes legacy code

Status: Needs Review
Feature

symfony/symfony-templating is set as dev requirement, but the TimeHelper class is depending on it

Bug

Ability to output something similar to: "in 5-10 days"

Feature

Hi, `getDiffMessage` is not used for this bundle : https://github.com/KnpLabs/KnpTimeBundle/blob/master/DateTimeFormatter.php#L52

Bug

close #78 Addition of a "maxdiff" filter (I had no idea to name it, if you have a better name, let me know) to limit the Date difference to display...

Hello @weaverryan ! I hope you are doing fine ! :sunflower: We are trying to uniform documentation on our public repositories adding code of conducts and contributing guidelines (you can...

documentation

Issue #103 removed a test that would prove this (failing) test with an (almost) identical DateTime (compared to `time()`) for the `|ago` filter: public function testFormatDiffDefaultToIsNull() { $from = new...

Added slovak translations for duration

After `Symfony` upgrade to `v6.4` got this deprecation notice: > The "Knp\Bundle\TimeBundle\Templating\Helper\TimeHelper" class extends "Symfony\Component\Templating\Helper\Helper" that is deprecated since Symfony 6.4, use Twig instead.

Hello devs! Someone ever come across this issue? I am having `diff.ago.day` or `diff.ago.time` displayed each time. I have version `"knplabs/knp-time-bundle": "^2.2"` running on Symfony 6.3 I have removed and...