You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2022. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
I also tried this date format:
m/d/yy h:mm
and it's didn't working.Thanks
The text was updated successfully, but these errors were encountered: