Make dateformat working again