Project

General

Profile

Actions

Bug #18110

closed

Saving datetime fields in TCEforms changes the date to [day+1]

Added by Michael Stucki almost 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2008-02-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I was trying to set an enddate value for some record. However, it was still displayed.

After some checks I found out that the date was submitted wrong. The submitted date was [my date+1], which is obviously wrong.

An additional problem is, that TYPO3 also displays it wrong! So a) the value is stored wrong, but b) it is also displayed wrong, and therefore, it looks fine if you just check the value in the backend.
(issue imported from #M7372)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #18278: Date/time handling is completely broken in 4.2ClosedErnesto Baschny2008-02-22

Actions
Actions #1

Updated by Michael Stucki almost 17 years ago

Hi Ernesto,

could this be caused by your timezone improvement? Although I did not check any details, it seems likely that this has something to do with it...

- michael

Actions #3

Updated by Dmitry Dulepov over 16 years ago

This definitely due to timezone. I get exactly 2h difference all the time. Same goes for our 7 editors. We all use different platforms: 1 Mac, 1 Linux, 5 Windows.

By the way, why do we use our own timezone value if PHP has its own (available through ini_get())?

Actions #4

Updated by Dmitry Dulepov over 16 years ago

Interestingly for me it is displayed as +2h in BE and it is displayed as +2h on the web site. I try to save with correct value but it is adjusted in the middle.

Actions #5

Updated by Oliver Hader over 16 years ago

Duplicate of bug #18278

Actions

Also available in: Atom PDF