Project

General

Profile

Actions

Feature #19790

closed

Support datetime with seconds in BE

Added by Ralf Hettinger almost 16 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-01-11
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

It would be nice for the sake of completeness, if one had the possibility to support datetime not only with minutes but seconds in TYPO3's TCEForms as this is alreday possible with jsut the time (timesec - therefore very weakly related to #19056).

Attached patch suggests such a fieldconf by using "eval"=>"datetimesec".

(issue imported from #M10095)


Files

10095_4.3_alpha1.patch (7.49 KB) 10095_4.3_alpha1.patch Administrator Admin, 2009-01-11 03:53
10095_4.3_alpha1_v2.patch (7.49 KB) 10095_4.3_alpha1_v2.patch Administrator Admin, 2009-01-17 11:18
Actions #1

Updated by Steffen Kamper almost 16 years ago

Do you really see a usecase for seconds?

Actions #2

Updated by Ralf Hettinger almost 16 years ago

I actually do :)

Imagine some radio broadcasting company that might want to store its scheduled broadcasts into database by TYPO3. They may want to past in the date and the time - even down to seconds - since they just have this data (or have some interface that includes part of the data automatically and shouldnt get lost).

Actions #3

Updated by Steffen Kamper almost 16 years ago

uh - never have seen a start of broadcast at 21:03:13 :D

Actions #4

Updated by Ralf Hettinger almost 16 years ago

You may not see this data, but still it may be there... just imagine as an example some JavaScript (maybe AJAX) piece, that would be able to switch some content on a website almost in real-time sync with some broadcast via another media. That wouldn't be possible based on datetime, since you were lacking - the seconds.
And it wouldn't do any harm nor put a big overhead into the core to have datetimesec available as an option, would it?

However, if this one doesn't get any positive feedback within this thread, I won't submit it to the core list - since it admittedly might be considered as a case too special.

It just was so much easier and less overhead to patch TYPO3 for the almost available datetimesec by combining datetime and timesec than to implement a separate userfunc eg by using $TYPO3_CONF_VARS['SC_OPTIONS']['tce']['formevals'], that I couldn't resist.

So if you regarded this feature request as a poll for its usability - that would be appropriate, I suppose.

Actions #5

Updated by Ralf Hettinger almost 16 years ago

There has been an error in the initial version. Please use _v2

Actions #6

Updated by Alexander Opitz almost 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

Hi,

as this issue is very old. Is this feature missing in newer versions of TYPO3 CMS (6.1)?
If yes, can you provide a newer patch against master by using Gerrit? http://wiki.typo3.org/CWT

Actions #7

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF