Bugfix in date format