Project

General

Profile

Actions

Bug #61952

closed

bug dbType for date before 01-01-1970

Added by BIDAU Ismaël over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-09-29
Due date:
% Done:

0%

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

Description

set a TCA field like this :
'birthday' => array (
'exclude' => 1,
'label' => 'LLL:EXT:ensci_contacts/Resources/Private/Language/locallang_db.xml:fe_users.birthday',
'config' => array (
'type' => 'input',
'dbType' => 'date',
'size' => '10',
'max' => '10',
'eval' => 'date'
)
),
For birthday > 01-01-1970, no problem.
For birthday < 01-01-1970, the display date is one day before the date that is in the database. Each time you click save button, the birthday is one day before !


Related issues 3 (1 open2 closed)

Related to TYPO3 Core - Feature #61110: Support for timezones in all date fields in TYPO3 BENew2014-08-21

Actions
Related to TYPO3 Core - Bug #37244: TCA date evaluation for dates lower 01-01-1970 failsClosed2012-05-17

Actions
Related to TYPO3 Core - Bug #69290: Dates get reduced by a day if before 1970Closed2015-08-24

Actions
Actions

Also available in: Atom PDF