I have the following problem.
I need to parse a text to a date with MySql . The problem is that the text to be parsed is of the style: " 03-ene-17
".
I used the STR_TO_DATE function in the following way:
STR_TO_DATE('03-ene-17', '%d-%b-%y');
The problem is that the default function only recognizes the abbreviations in English, so it is not able to parse my string.
I can modify my entry to change the abbreviations in Spanish by the English abbreviations. But I want to know if there is any other way a little smarter to do this.