Compare commits

...

2 Commits

Author SHA1 Message Date
3701e31ee0 fix: sets default twig date format as m/d/Y 2025-06-19 16:44:20 -05:00
210c674f25 fix: bad date format 2025-06-19 16:41:42 -05:00
3 changed files with 3 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
twig:
file_name_pattern: '*.twig'
date:
format: 'm/d/Y'
timezone: '%env(default:app.default.timezone:TZ)%'
when@test:

View File

@@ -5,6 +5,7 @@ namespace App\Tmdb;
use Aimeos\Map;
use App\Enum\MediaType;
use App\ValueObject\ResultFactory;
use Carbon\Carbon;
use Symfony\Component\DependencyInjection\Attribute\Autowire;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Contracts\Cache\CacheInterface;

View File

@@ -36,14 +36,9 @@
<span {{ stimulus_target('tv-results', 'count') }}>0</span> results
</button>
<small class="py-1 px-1.5 mr-1 grow-0 font-bold bg-gray-700 rounded-lg font-normal text-white" title="Air date {{ episode['name'] }}">
{{ episode['air_date'] }}
{{ episode['air_date']|date }}
</small>
<small class="py-1 px-1.5 grow-0 font-bold bg-red-600 hover:bg-red-700 rounded-lg font-normal text-white cursor-pointer" title="Clear cache for {{ episode['name'] }}"
{{ stimulus_action('tv-results', 'clearCache', 'click') }}
>Clear Cache</small>
</div>
</div>
<div class="flex flex-col gap-4 justify-between">