changed time format and added pagination tag