Use format_datetime filters from twig core instead of deprecated twig/extensions

This commit is contained in:
Jan Böhmer 2019-11-23 14:48:21 +01:00
parent 26fe946de3
commit cd5f099965
12 changed files with 19 additions and 100 deletions

63
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d5ab5fdad23b0879dba64df3d0c7346a",
"content-hash": "823d8542bcdaea46c533eedb6148de31",
"packages": [
{
"name": "clue/stream-filter",
@ -7427,64 +7427,9 @@
"homepage": "https://symfony.com",
"time": "2019-11-12T14:51:11+00:00"
},
{
"name": "twig/extensions",
"version": "v1.5.4",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig-extensions.git",
"reference": "57873c8b0c1be51caa47df2cdb824490beb16202"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig-extensions/zipball/57873c8b0c1be51caa47df2cdb824490beb16202",
"reference": "57873c8b0c1be51caa47df2cdb824490beb16202",
"shasum": ""
},
"require": {
"twig/twig": "^1.27|^2.0"
},
"require-dev": {
"symfony/phpunit-bridge": "^3.4",
"symfony/translation": "^2.7|^3.4"
},
"suggest": {
"symfony/translation": "Allow the time_diff output to be translated"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.5-dev"
}
},
"autoload": {
"psr-0": {
"Twig_Extensions_": "lib/"
},
"psr-4": {
"Twig\\Extensions\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
}
],
"description": "Common additional features for Twig that do not directly belong in core",
"keywords": [
"i18n",
"text"
],
"time": "2018-12-05T18:34:18+00:00"
},
{
"name": "twig/extra-bundle",
"version": "3.x-dev",
"version": "v3.0.0",
"source": {
"type": "git",
"url": "https://github.com/twigphp/twig-extra-bundle.git",
@ -7543,7 +7488,7 @@
},
{
"name": "twig/intl-extra",
"version": "3.x-dev",
"version": "v3.0.0",
"source": {
"type": "git",
"url": "https://github.com/twigphp/intl-extra.git",
@ -9454,8 +9399,6 @@
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"twig/extra-bundle": 20,
"twig/intl-extra": 20,
"roave/security-advisories": 20
},
"prefer-stable": false,