1. change this line:
  2.  
  3. $post_date = human_time_diff(get_the_time('U', $post_id), current_time('timestamp')) . ' ' . __('ago', 'cosmotheme');
  4.  
  5. with this one:
  6.  
  7. $post_date = __('ago', 'cosmotheme') . ' ' . human_time_diff(get_the_time('U', $post_id), current_time('timestamp'));