Project

General

Profile

Actions

Bug #78251

closed

Epic #77562: Misbehaviors with datetime values and timezones

Not possible to output DateTime by TS

Added by Georg Ringer about 8 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2016-10-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Having a field in TCA with

'config' => [
                'dbType' => 'date',
                'type' => 'input',
                'size' => 7,
                'eval' => 'date',
                'checkbox' => 0,
                'default' => '0000-00-00'
            ],

it is impossible to manipulate this with TypoScript. Neither stdWrap_date nor stdWrap_strftime can handle that input

Actions #1

Updated by Riccardo De Contardi about 8 years ago

  • Category set to TypoScript
Actions #2

Updated by Mona Muzaffar over 7 years ago

  • Related to Epic #80852: Datetime handling in backend added
Actions #3

Updated by Markus Klein over 7 years ago

  • Status changed from New to Accepted
Actions #4

Updated by Riccardo De Contardi over 7 years ago

  • Related to deleted (Epic #80852: Datetime handling in backend)
Actions #5

Updated by Georg Ringer over 7 years ago

  • Status changed from Accepted to Rejected

ok it is possible using

lib.date = TEXT
lib.date {
  field = date_test
  strtotime = 1
  strftime = %d - %b - %Y
}

Actions

Also available in: Atom PDF