I have this in my partial view:
<tr>
<% for (int currentDay = 0; currentDay < 7; currentDay++)
{ %>
<th>
<%= System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.DayNames[currentDay] %>
</th>
<% } %>
</tr>
The weekday names render correctly in Swedish, but somehow the week starts with Sunday, while the first day of week in Sweden is Monday. How can I fix this?
And furthermore, is there some easy way to make it render first letter in weekday names as uppercase?