Date functions fixes for case statement to match Spanish, Spanish (Latin American), or Spanish (Spain).