Project

General

Profile

Actions

Bug #25043

closed

datetime picker returns only a date and no time value

Added by Florian Zimmermann about 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-02-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

when i select a date over the datepicker, the form is tca generate, the time value is always 0:00.
The behaviour before 4.5 was that the timepicker return the selected date and the current time like 11:35 11-01-2011.

(issue imported from #M17596)


Files

17596.patch (12.6 KB) 17596.patch Administrator Admin, 2011-03-17 00:16
17596_4-5_4-4.patch (1.37 KB) 17596_4-5_4-4.patch Administrator Admin, 2011-03-23 23:15

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #31027: Date picker defectClosed2011-10-17

Actions
Related to TYPO3 Core - Bug #33629: datepicker with datetime field does not set current time as defaultClosedErnesto Baschny2012-02-02

Actions
Actions #1

Updated by Andreas Kiessling about 13 years ago

This is a really annoying bug. I tried to modify the behaviour of the ExtJS datepicker to preset a default value for hour:minute, but did not succeed.

Having 0:00 after selecting a date is is ok for true date fields, but not for datetime fields.

Actions #2

Updated by Steffen Kamper about 13 years ago

The uploaded patch adds a datetimepicker which handles the datetime fields correct

Actions #4

Updated by Florian Zimmermann about 13 years ago

Thx, works fine

Actions #5

Updated by Steffen Kamper about 13 years ago

committed to trunk

Actions #6

Updated by Steffen Kamper about 13 years ago

patch for older branches has to be done. The behaviour of datepicker was always the same, time information was deleted.

Actions #8

Updated by Steffen Kamper almost 13 years ago

  • Status changed from Accepted to Under Review
  • Target version deleted (0)
Actions #9

Updated by Christian Kuhn almost 13 years ago

  • Status changed from Under Review to Resolved
  • Target version set to 1061
  • % Done changed from 0 to 100
  • TYPO3 Version changed from 4.5 to 4.4

This was merged to 4.4 with 96cac1f3ab7382556b6cce7e0cb135b72d44d978
This was merged to 4.5 with e1780c75b8d5447b9dfc02b73e54da74b2ec9be0

Actions #10

Updated by Oliver Hader almost 13 years ago

  • Status changed from Resolved to Closed
Actions #11

Updated by Tobias Schmidt almost 13 years ago

Unfortunately this patch introduces another Bug at least for TYPO3 4.4.8. If the fields for starttime and endtime are empty using the datepicker throws a javascript error in tceforms.js: OldValue is undefined . Afterwards the field is still empty. Using the datepicker with a field that already contains a value works fine.

Actions #12

Updated by Tobias Schmidt almost 13 years ago

This newly introduced bug has already been reported as Bug #26674: Regression bug in tceforms.js
A bug fix can be found in changeset 75d5c7b88462c553e62d4c223ec1cac96908d88d

Actions #13

Updated by Simon Schaufelberger about 12 years ago

Hello, has anybody tested the backport to 4.5? it is not working for me. The time is still set to 0:00 in tt_news record for example.

Actions #14

Updated by Ernesto Baschny almost 11 years ago

  • Target version deleted (1061)
Actions

Also available in: Atom PDF