Project

General

Profile

Actions

Bug #18977

closed

Date/time field problem with timezone shifting when using the "+xx" and "d" syntaxes

Added by Steffen Kamper over 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2008-06-18
Due date:
% Done:

0%

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

Description

if you have a datetime-Field in TCEform and you enter +0 and press Tab it calculates a datetime-value which is Now() - 2 hours

(issue imported from #M8746)


Files

T3X_user_datetest-0_0_1-z.t3x (2.71 KB) T3X_user_datetest-0_0_1-z.t3x Administrator Admin, 2008-12-29 12:54
bug-8746-timezone.diff (4.22 KB) bug-8746-timezone.diff Administrator Admin, 2008-12-29 12:56

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #19083: Date fields calculate wrong date using shortcut modeClosedErnesto Baschny2008-10-29

Actions
Related to TYPO3 Core - Bug #19752: Shortcut "d" doesn't work as expected on date/time fieldsClosedErnesto Baschny2008-12-29

Actions
Related to TYPO3 Core - Bug #19855: datetime evaluation again buggy in TYPO3 4.2.4-devClosedErnesto Baschny2009-01-19

Actions
Actions #1

Updated by Steffen Kamper over 16 years ago

i think the problem is, that the eval-script uses UTC for proper calculation for saving.

IMHO there should be a difference for calculating before submitting and calculating with submitting, especially for this date-add-calculation.

Actions #2

Updated by Ernesto Baschny over 16 years ago

That's possible, but probably a pain to program. I have no time this and probably also next week to take a deeper look at this. So feel free to suggest some fix for this bug, I would potentially be available for reviewing.

Actions #3

Updated by Ernesto Baschny almost 16 years ago

Fix was commited to trunk (rev. 4628) and TYPO3-4_2 (rev. 4629).

Actions

Also available in: Atom PDF