Hello there,
I need put datepicker for filtering fromDate and find out this topic
but I have a problem with date format. even though I have set format Y-m-d the date is displayed in the format m-d-Y - 28-04-2016
and I dont know where is the problem? is input name correct? Navstevy is model, datum is column
[attachment=0]ScreenShot938.jpg[/attachment]
thx for hint
I need put datepicker for filtering fromDate and find out this topic
but I have a problem with date format. even though I have set format Y-m-d the date is displayed in the format m-d-Y - 28-04-2016
<input type="text" id="cf_creted" name="fltr[navstevy][datum]" data-gdatetimepicker-format="Y-m-d" placeholder="" size="9" class="form-control A" title="" style="display:inline;" data-load-state="" data-tooltip="" type="text" data-fieldtype="gdatetimepicker" data-start_view="d" />
and I dont know where is the problem? is input name correct? Navstevy is model, datum is column
[attachment=0]ScreenShot938.jpg[/attachment]
<?php
$document = \GCore\Libs\Document::getInstance();
$document->_('jquery');
$document->_('gdatetimepicker');
$document->addJsCode('jQuery(document).ready(function($){
$("#cf_creted").gdatetimepicker();
});');
?>
thx for hint