Text date format is full text
This commit is contained in:
parent
b262ec547f
commit
828d62677a
@ -457,8 +457,10 @@ class Conf
|
|||||||
$this->format_date_short="%d/%m/%Y";
|
$this->format_date_short="%d/%m/%Y";
|
||||||
$this->format_hour_short="%H:%M";
|
$this->format_hour_short="%H:%M";
|
||||||
$this->format_date_text_short="%d %b %Y";
|
$this->format_date_text_short="%d %b %Y";
|
||||||
|
$this->format_date_text="%d %B %Y";
|
||||||
$this->format_date_hour_short="%d/%m/%Y %H:%M";
|
$this->format_date_hour_short="%d/%m/%Y %H:%M";
|
||||||
$this->format_date_hour_text_short="%d %B %Y %H:%M";
|
$this->format_date_hour_text_short="%d %b %Y %H:%M";
|
||||||
|
$this->format_date_hour_text="%d %B %Y %H:%M";
|
||||||
|
|
||||||
$this->format_date_short_java="dd/MM/yyyy";
|
$this->format_date_short_java="dd/MM/yyyy";
|
||||||
|
|
||||||
|
|||||||
@ -422,9 +422,12 @@ function dolibarr_print_date($time,$format='',$to_gmt=false)
|
|||||||
|
|
||||||
if ($format == 'day') $format=$conf->format_date_short;
|
if ($format == 'day') $format=$conf->format_date_short;
|
||||||
if ($format == 'hour') $format=$conf->format_hour_short;
|
if ($format == 'hour') $format=$conf->format_hour_short;
|
||||||
if ($format == 'daytext') $format=$conf->format_date_text_short;
|
if ($format == 'daytext') $format=$conf->format_date_text;
|
||||||
|
if ($format == 'daytextshort') $format=$conf->format_date_text_short;
|
||||||
if ($format == 'dayhour') $format=$conf->format_date_hour_short;
|
if ($format == 'dayhour') $format=$conf->format_date_hour_short;
|
||||||
if ($format == 'dayhourtext') $format=$conf->format_date_hour_text_short;
|
if ($format == 'dayhourtext') $format=$conf->format_date_hour_text;
|
||||||
|
if ($format == 'dayhourtextshort') $format=$conf->format_date_hour_text_short;
|
||||||
|
|
||||||
if ($format == 'dayhourlog') $format='%Y%m%d%H%M%S';
|
if ($format == 'dayhourlog') $format='%Y%m%d%H%M%S';
|
||||||
if ($format == 'dayhourldap') $format='%Y%m%d%H%M%SZ';
|
if ($format == 'dayhourldap') $format='%Y%m%d%H%M%SZ';
|
||||||
if ($format == 'dayhourxcard') $format='%Y%m%dT%H%M%SZ';
|
if ($format == 'dayhourxcard') $format='%Y%m%dT%H%M%SZ';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user