I'm trying to handle multiple conditions for date format in my app and using for this purposes switch method. The function looks well but the problem is that nothing from my cases' conditions doesn't work. I understand that something wrong with condition but cannot understand what exactly. I'm trying to handle multiple conditions for da