function qtranxf_dateFromCommentForCurrentLanguage($old_date, $format, $comment = null) { if (!$comment) { global $comment; } //compatibility with older WP if (!$comment) { return $old_date; } return qtranxf_format_date($format, $comment->comment_date, $old_date); //return qtranxf_strftime(qtranxf_convertDateFormat($format), mysql2date('U',$comment->comment_date), $old_date); }
function qtranxf_dateFromCommentForCurrentLanguage($old_date, $format, $comment = null) { if (!$comment) { global $comment; } //compatibility with older WP if (!$comment) { return $old_date; } return qtranxf_format_date($format, $comment->comment_date, $old_date); }