make pages a tuple, gen would get consumed after 1st use
localise simpledates