Fixing wrong date format