I already posted a similar question but here I have a slightly different problem with it. Situation in WP7.1 app:
CultureInfo = new CultureInfo("es");
If culture info is set to es (es-ES works fine but that cannot be the solution to hardcode that) than DateTimeFormat of current culture (Thread.CurrentThread.CurrentCulture.DateTimeFormat) is null (throwing the IndexOutOfRangeException) causing simple DateTime.ToString() to fail with the same exception.
I need to make it work. I might be presuming something from above wrong, which I kind of hope that I do. Could someone either help me make it work, or point me to some msdn explaining it will not work ?
Thanks, Michal