Actions
Bug #23056
closedRename t3lib_BEfunc::time and introduce new function
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
Actions