Main Page | Forums | Register | Active Topics | Members | Search
 
Username:
Password:
ASP Calendars Forum >> ASP Calendars >> Support >> Date Formats
Date Formats
Author Topic
DataBasic


Newbie

Join Date: 10/20/2008
Posts: 3

Posted: 10/20/2008 4:14:43 AM

Hi,
The Month Calendar always started on January and all the months started on the 10th for me. I tracked it down to the date formatting in the Calendar.ascx.vb file line 731.

I had to switch the month and day around for it to work here in the UK:

'ViewDate = CDate(StartDateValue.Month & "/1/" & StartDateValue.Year)
ViewDate = CDate("1/" & StartDateValue.Month & "/" & StartDateValue.Year)

To avoid changing the code, is there some sort of config option I can set instead?

Thanks
DataBasic


ASPCalendarsAdmin


Administrator

Join Date: 12/12/2007
Posts: 51

Posted: 10/20/2008 8:17:42 AM

There is nothing the config to account for the UK date problem. Future releases of ASP Calendars will address this specific issue.

For now, your code fix will work for the time being.


  Copyright ASP Calendars DMG Forums 3.1