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 #1

Updated by Jigal van Hemert over 12 years ago

  • Category set to FormEngine aka TCEforms
  • Status changed from New to Accepted
Actions #2

Updated by Anja Leichsenring almost 10 years ago

  • Status changed from Accepted to Resolved
  • Priority changed from Must have to -- undefined --

This was solved with the new datepicker integration.

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF