Issue Bug Closed

#23056Rename t3lib_BEfunc::time and introduce new function

Georg Ringer 06/30/10, 14:14 updated 03/10/14, 06:42

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.