Fixing date parsing for negative year