time formatting works along with pagination on the ui