Merge branch 'ent-12802-insert-data-no-recoge-bien-la-fecha' into 'develop'

Ent 12802 insert data no recoge bien la fecha

See merge request artica/pandorafms!6886
This commit is contained in:
Rafael Ameijeiras 2024-01-29 09:16:00 +00:00
commit e39a87ebd7
1 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ function mainInsertData()
'',
empty($agent_id)
);
$table->data[1][2] = html_print_input_text('data', ($save === true) ? date(DATE_FORMAT) : $data, __('Data'), 10, 60, true);
$table->data[1][2] = html_print_input_text('date', ($save === true) ? date(DATE_FORMAT) : $data, __('Data'), 10, 60, true);
$table->data[1][2] .= ' ';
$table->data[1][2] .= html_print_input_text('time', ($save === true) ? date(TIME_FORMAT) : $time, '', 10, 7, true);
@ -284,7 +284,7 @@ function mainInsertData()
currentText: '<?php echo __('Now'); ?>',
closeText: '<?php echo __('Close'); ?>'});
$('#text-data').datepicker ({
$('#text-date').datepicker ({
dateFormat: '<?php echo DATE_FORMAT_JS; ?>',
changeMonth: true,
changeYear: true,