Skip to content

Commit

Permalink
datetime->date
Browse files Browse the repository at this point in the history
windows problem s znakem :
  • Loading branch information
bojovyletoun authored and jan-stanek committed Nov 27, 2022
1 parent 3aea469 commit f571751
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/AdminModule/Components/GroupsGridControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ public function createComponentPatrolsGrid(string $name): DataGrid
$grid->setItemsPerPageList([25, 50, 100, 250, 500]);
$grid->setStrictSessionFilterValues(false);

$stamp = date(Helpers::DATETIME_FORMAT);
$grid->addExportCsv('admin.common.export_all', 'NSJ2023 Skupiny ' . $stamp . 'csv');
$grid->addExportCsvFiltered('admin.common.export_filter', 'NSJ2023 Skupiny fi ' . $stamp . 'csv');
$stamp = date(Helpers::DATE_FORMAT);
$grid->addExportCsv('admin.common.export_all', 'NSJ2023 Skupiny ' . $stamp . '.csv');
$grid->addExportCsvFiltered('admin.common.export_filter', 'NSJ2023 Skupiny fi ' . $stamp . '.csv');

$grid->addGroupAction('Export seznamu skupin')
->onSelect[] = [$this, 'groupExportUsers'];
Expand Down
6 changes: 3 additions & 3 deletions app/AdminModule/Components/PatrolsGridControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ public function createComponentPatrolsGrid(string $name): DataGrid
$grid->setItemsPerPageList([25, 50, 100, 250, 500]);
$grid->setStrictSessionFilterValues(false);

$stamp = date(Helpers::DATETIME_FORMAT);
$grid->addExportCsv('admin.common.export_all', 'NSJ2023 Druziny ' . $stamp . 'csv');
$grid->addExportCsvFiltered('admin.common.export_filter', 'NSJ2023 Druziny fi ' . $stamp . 'csv');
$stamp = date(Helpers::DATE_FORMAT);
$grid->addExportCsv('admin.common.export_all', 'NSJ2023 Druziny ' . $stamp . '.csv');
$grid->addExportCsvFiltered('admin.common.export_filter', 'NSJ2023 Druziny fi ' . $stamp . '.csv');

$grid->addGroupAction('Export seznamu družin')
->onSelect[] = [$this, 'groupExportUsers'];
Expand Down

0 comments on commit f571751

Please sign in to comment.