示例#1
0
function ap_question_get_the_time_relative($question_id = false)
{
    $question_id = ap_parameter_empty($question_id, @ap_question_get_the_ID());
    return ap_human_time(ap_question_get_the_time($question_id, 'U')) . __(' ago', 'ap');
}
示例#2
0
function ap_question_get_the_time_relative($question_id = false)
{
    $question_id = ap_parameter_empty($question_id, @ap_question_get_the_ID());
    return ap_question_get_the_time($question_id, 'U');
}