[Mono-aspnet-list] MVC3 ActionLink datetime RouteValue serialization problem

edgecrusher edgecrusher4105r at yahoo.com
Mon Mar 5 14:32:07 UTC 2012


Hello,

I'm running ASP.NET MVC3 (Razor) web app with Apache + Mono 2.10.5

I have problem with Html.ActionLink helper when I'm using date as RouteValue
parameter.
eg.


When I'm running app with Cassini or IIS date part is serialized like US
datetime (MM/DD/YYYY HH:MI:SS),
and everything is as expected.

But Mono is taking my locale culture in account ('hr-HR', serialization
DD.MM.YYYY HH.MI.SS),
and I get wrong date on controller (I suppose controller isn't taking
current culture in account).

Is it a bug, or I'm missing something.

Thanks in advance,

Edgecrusher

--
View this message in context: http://mono.1490590.n4.nabble.com/MVC3-ActionLink-datetime-RouteValue-serialization-problem-tp4446284p4446284.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list