format date of archive page