format dates nicely for pager titles