Project

General

Profile

Actions

Feature #35129

closed

BE datetime format dd.mm.yyyy

Added by yuth nara over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
-- undefined --
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-03-22
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Purpose:

To change datetime format from default H:i d-m-Y to customer format H:i d.m.Y

In TCA:
'field_name' => array(
'label' => 'Label name',
'config' => array(
'type' => 'input',
'size' => 20,
'max' => 20,
'eval' => 'datetime'
)
)

Set [SYS][ddmmyy] = d.m.Y and it shows in the list module.
But it does not display d.m.Y into the input field when clicking on datepicker icon.

Line 440-445 of t3lib/jsfunc.evalfield.js

theString = theTime.getUTCDate()+'-'+(theTime.getUTCMonth()+1)+'-'+this.getYear(theTime);

Actions

Also available in: Atom PDF