Project

General

Profile

Actions

Bug #23056

closed

Rename t3lib_BEfunc::time and introduce new function

Added by Georg Ringer over 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-06-30
Due date:
% Done:

0%

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

Description

The function t3lib_BEfunc::time() is used to render the age of a timestamp in hours and minutes (+ optional seconds). The function should be called timeAge like the related functions calcAge() and dateTimeAge().

Furthermore it is confusing as there are the functions date() and datetime() which render a timestamp as time.

The function time() is only used within the class t3lib_BEfunc (checked the whole core). Additional benefit beside would be to have a function similiar to date() and datetime() to render a timestamp.

(issue imported from #M14945)


Files

14945-befunc-time-timeage.patch (1.62 KB) 14945-befunc-time-timeage.patch Administrator Admin, 2010-06-30 14:15

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Task #20016: wrong age calculating in stdWrapNewAlexander Opitz2009-02-13

Actions
Is duplicate of TYPO3 Core - Task #56651: Move date/time utility methods to own classClosed2014-03-07

Actions
Actions #1

Updated by Georg Ringer about 10 years ago

  • Status changed from New to Closed
  • Target version deleted (0)
  • Is Regression set to No

i am closing this in favor of #56651

Actions

Also available in: Atom PDF