Clean code

This commit is contained in:
Laurent Destailleur
2025-10-23 14:31:45 +02:00
parent 1e84852825
commit 0346d901be
9 changed files with 11 additions and 13 deletions

View File

@@ -203,7 +203,7 @@ jQuery(function($){
dayNamesMin: tradDaysMin,
weekHeader: '<?php echo $langs->trans("Week"); ?>',
dateFormat: '<?php echo $langs->trans("FormatDateShortJQuery"); ?>', /* Note dd/mm/yy means year on 4 digit in jquery format */
firstDay: <?php echo(isset($conf->global->MAIN_START_WEEK) ? $conf->global->MAIN_START_WEEK : '1'); ?>,
firstDay: <?php echo getDolGlobalInt('MAIN_START_WEEK', 1); ?>,
isRTL: <?php echo($langs->trans("DIRECTION") == 'rtl' ? 'true' : 'false'); ?>,
showMonthAfterYear: false, /* TODO add specific to country */
yearSuffix: '' /* TODO add specific to country */