date-detailpage traintype switch