- CommonFormatDateTestCase::testFormatDiff in core/
modules/ simpletest/ tests/ common.test - Tests the formatDiff method.
- date_format_interval in core/
includes/ date.inc - Formats a time interval with granularity, including past and future context.
- format_time_diff_since in core/
includes/ common.inc - Formats the time difference from a timestamp to the current request time.
- format_time_diff_until in core/
includes/ common.inc - Formats the time difference from the current request time to a timestamp.
- theme_date_time_ago in core/
modules/ date/ date.theme.inc - Returns HTML for a date in the format 'time ago'.
- views_handler_field_date::render in core/
modules/ views/ handlers/ views_handler_field_date.inc