This repository was archived by the owner on May 26, 2022. It is now read-only.

Description
Hello,
I am looking for format date cell on export XLSX but i have ### in my cell ( with a good date formatting: filters and cell content are ok, it's just a wrong cell text )
I generate my cell like this:
public function formatDate(\DateTime $date)
{
$format = $this->localeFormat->getYearMonthDayFormat();
return WriterEntityFactory::createCell(Date::PHPToExcel($date), (new StyleBuilder())->setFormat('dd/mm/YYYY')->build());
}
I also tried this date format: m/d/yy h:mm and it's didn't working.
Thanks