Project

General

Profile

Actions

Task #77702

closed

Use moment.js and ISO-8601 dates in the backend

Added by Andreas Wolf about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2016-08-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The backend currently passes around a weird combination of true UTC timestamps and "adjusted UTC" timestamps which are offset by the server timezone offset to UTC. The latter are also stored in the database.

A better solution is to use ISO-8601 dates as widespread as possible and only convert them to/from timestamps at a single location. This way, everything gets more obvious and we can finally tackle using real UTC timestamps in the database.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #78953: Custom FormDataProvider breaks with date related changesClosed2016-12-11

Actions
Related to TYPO3 Core - Bug #79249: TCA fields with eval types "time" or "timesec" are incorrectly stored in the databaseClosedMarkus Klein2017-01-10

Actions
Related to TYPO3 Core - Bug #83240: TCA field with type=input, eval=date with range is broken, always lower range value is applied because of int cast of incoming value before ISO-8601->unix timestamp conversion.Closed2017-12-06

Actions
Actions

Also available in: Atom PDF