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

Updated by Stefan Neufeind over 9 years ago

It a problem with timezone-handling. Would be solved with #61110.

Actions #2

Updated by Markus Klein over 8 years ago

Also related to #37244 I guess

Actions #3

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from New to Closed

I close this as it is a duplicate of #69290 please continue the discussion there (I also added the related issues of this issue there)

If you think that this is the wrong decision, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF