fix diagram rendering concerning DST issues