Project

General

Profile

Actions

Bug #89967

closed

Invalid date representation when readOnly in TCA

Added by Hartmut Palm almost 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2019-12-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
TCA
Complexity:
Is Regression:
Sprint Focus:

Description

1.) Setting 'readOnly' on native date and datetime fields in TCA results in invalid/different representation of dates or datetimes.

2.) Setting 'readOnly' on date (timestamp) and datetime (timestamp) fields in TCA results in different representation (d-m-Y vs. [SYS][ddmmyy] = d.m.Y)


Files

Dateformats.png (127 KB) Dateformats.png BE Fields Hartmut Palm, 2019-12-16 15:29
tx_gfztestdateformat_domain_model_test.php (8.64 KB) tx_gfztestdateformat_domain_model_test.php TCA Hartmut Palm, 2019-12-16 15:34

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #88450: Default value ist show on datetime fields by readOnlyClosed2019-05-28

Actions
Related to TYPO3 Core - Bug #90413: TCA-Configuration: Input-Field with Datetime-frendertype show 'Wrong'-default value in the Backend Closed2020-02-18

Actions
Actions #1

Updated by Oliver Bartsch about 4 years ago

  • Related to Bug #88450: Default value ist show on datetime fields by readOnly added
Actions #2

Updated by Oliver Bartsch about 4 years ago

  • Related to Bug #90413: TCA-Configuration: Input-Field with Datetime-frendertype show 'Wrong'-default value in the Backend added
Actions #3

Updated by Oliver Bartsch about 4 years ago

  • Status changed from New to Closed

Hi,

thanks for providing your example TCA. I tested it on latest master and the issue seems to be already solved with #88450 and #90413 (See the patch: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63626).

I will therefore close this issue now. If you feel there is still something that does not work, please let me know and I will re-open the ticket.

Actions

Also available in: Atom PDF