Change DateTime to Time because of an error while bundling