feat(storefront): expose event date notices
This commit is contained in:
@@ -35,4 +35,12 @@ class EventDateTextFormatterTest extends TestCase
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
public function test_it_formats_dates_for_use_inside_sentences(): void
|
||||
{
|
||||
$this->assertSame(
|
||||
'09 y 10 de Octubre de 2026',
|
||||
(new EventDateTextFormatter)->formatForSentence(['2026-10-10', '2026-10-09'])
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user