Created
January 27, 2020 08:55
-
-
Save tomaskavalek/3482f0bed050470c23b183bb818ea8fc to your computer and use it in GitHub Desktop.
Contributte DataGrid FilterDate localisation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="{$basePath}/path/to/bootstrap-datepicker.cs.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$grid->addFilterDate('dateField', 'Date Label') | |
->setAttribute('data-date-language', 'cs') | |
->setFormat('j. n. Y', 'd. m. yyyy'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment