mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: Use correct format for js
This commit is contained in:
parent
a880a8c51e
commit
ac8868e2d2
|
|
@ -40,11 +40,6 @@ $langs->load("main");
|
|||
$right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
|
||||
$left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
|
||||
|
||||
//var_dump($langs->defaultlang);
|
||||
//var_dump($conf->format_date_short_java);
|
||||
//var_dump($langs->trans("FormatDateShortJava"));
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* View
|
||||
|
|
|
|||
|
|
@ -40,11 +40,6 @@ $langs->load("main");
|
|||
$right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
|
||||
$left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
|
||||
|
||||
//var_dump($langs->defaultlang);
|
||||
//var_dump($conf->format_date_short_java);
|
||||
//var_dump($langs->trans("FormatDateShortJava"));
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* View
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ FormatDateShort=%d/%m/%Y
|
|||
FormatDateShortInput=%d/%m/%Y
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatDateShortJavaInput=dd/MM/yyyy
|
||||
FormatDateShortJQuery=dd/MM/yy
|
||||
FormatDateShortJQueryInput=dd/MM/yy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
|
|
|||
|
|
@ -184,8 +184,8 @@ if (count($tasksarray)>0)
|
|||
|
||||
// Show Gant diagram from $taskarray using JSGantt
|
||||
|
||||
$dateformat=$langs->trans("FormatDateShort");
|
||||
$dateformat=strtolower($langs->trans("FormatDateShortJava"));
|
||||
$dateformat=$langs->trans("FormatDateShort"); // Used by include ganttchart.php later
|
||||
$dateformat=$langs->trans("FormatDateShortJQuery"); // Used by include ganttchart.php later
|
||||
$array_contacts=array();
|
||||
$tasks=array();
|
||||
$project_dependencies=array();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user