Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
<globalization requestEncoding="utf-8" responseEncoding="utf-8" responseHeaderEncoding="utf-8" culture="sv-SE" />
<html lang="sv-SE" xmlns="http://www.w3.org/1999/xhtml" xml:lang="sv-SE" dir="ltr">
<li class="@yearClass"><a class="uBlogsy_year_name" href="#"><span>@currentYear</span></a> @*render year name*@ <ul class="uBlogsy_months"> @for (; index < nodes.Count(); index++) { node = nodes[index]; date = DateTime.Parse(node.GetValue("uBlogsyPostDate")); var currentMonth = date.Month; if (date.Year != currentYear) { break; } // render month <li class="uBlogsy_month"><a class="uBlogsy_month_name" href="#"><span>@DateHelper.GetMonthName(currentMonth,false)</span> </a>@*render month name*@ <ul class="uBlogsy_post_items"> @RenderPosts(nodes, currentYear, currentMonth) </ul> </li> } </ul> </li>
date = DateTime.Parse(node.GetValue("uBlogsyPostDate"), new System.Globalization.CultureInfo("sv-SE", true));
@DateHelper.GetMonthNameWithFormat(currentMonth, new System.Globalization.CultureInfo("sv-SE").ToString())
As you can see I´am just guessing and have no idea what I'm doing and really need some help :-)
I never actually thought about that.
Try this:
http://stackoverflow.com/questions/5798908/how-to-produce-localized-date-string-with-cultureinfo
Also, if you dont want months as words you can change the format in udatefoldersy.config
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Need help with Swedish date format
As you can see I´am just guessing and have no idea what I'm doing and really need some help :-)
I never actually thought about that.
Try this:
http://stackoverflow.com/questions/5798908/how-to-produce-localized-date-string-with-cultureinfo
Also, if you dont want months as words you can change the format in udatefoldersy.config
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.