Hi Tom,
So to clarify my understanding you have a date field that:
- Needs parsing on a server, in the format Y-m-d
- You want to display the date in the format d mmm yyyy using Spaninsh month names
My initial reaction, based on my understanding, would be that you could setup your ext date fields to format and validate the second format ('d mmm yyyy') using the format config option (format:'d mmm yyyy'). Then you would send that back to the server, to your controller action (I guess), as a string parameter not a DateTime. Then in your controller action parse the date string and convert it using:
DateTime.ParseExact(myDate, 'd mmm yyyy', CultureInfo.CurrentCulture)
or similar and then you can convert it to whatever format you like out of that date object.
This only leaves the abbreviated names in the Date fields in the browser. I'm not entirely sure how Ext handles this but I'm not aware of being able to override the date format and force it to use a specific culture, from Ext / Javascript, so I'd expect that you'd be at the mercy of the browser / OS without writing something yourself.
UPDATED:
Combined with the example given by Joshua for month / day names should give you the solution you are looking for.
I hope that helps.