[Mono-devel-list] Weird behavior of DateTime poperties in asp controls

Gustav Schauwecker gustav-w-s at online.de
Wed Feb 18 14:04:30 EST 2004


It seems that DateTime poperties are not parsed correctly (at least on my 
system).
for example the asp:calendar control:

<asp:calendar runat="server" SelectedDate="01.05.2004" />

this one works as long as the day number is lower than 13. If the day number 
is between 13 and 23 no day is selected. And if it is above 23 a server error 
is raised, for example:

 Cannot parse 2004/25/02 as System.DateTime

If have tried different date formats but that did not help. The error is not 
calendar specific. I stumbled on this strange behavior while developing my 
own control.

My System: mono-0.30.1, mod_mono-0.7, xsp-0.9

Can anyone reproduce this?

Gustl



More information about the Mono-devel-list mailing list