I'd say it's an easy guess. The Danish server uses US date formats, the micromaniacs site server uses UK date formats. Is it possible?
I've seen the calendar display like the one in http://422o.dk/forum/default.asp in a forum whose code was not prepared to handle the dates in the format the server was using.
quote: hmmm.....that might be...but do you have any idea hov to fix the problem? BTW. hov do I get the date in the event to be the exact same as the forum?
I think you'd need to use different versions of the calendar mod. The international version for the server with the UK dates and the US version for the one with US dates.
I don't understand your last question. Can you be more specific?
Had the same Problem when i was translating the latest EventMod into German (the translated Mod from Kirgy was too old and didn't work). I had to hard-change the Session.LCID from 1033 to 1031 and the Result was the right Date-Format but also this wrong Display of Calendar.
I'm at home now so i can't post you the exact Lines to change. I'll do it tomorrow at first.
Had the same Problem when i was translating the latest EventMod into German (the translated Mod from Kirgy was too old and didn't work). I had to hard-change the Session.LCID from 1033 to 1031 and the Result was the right Date-Format but also this wrong Display of Calendar.
I'm at home now so i can't post you the exact Lines to change. I'll do it tomorrow at first.
I probably should have remembered this. Yes this should help. You only need to change a single line, to set the value for the LCID. All you need is to change line 39 in config.asp:
Function GetLastDay(intMonthNum, intYearNum) Dim dNextStart If CInt(intMonthNum) = 12 Then dNextStart = CDate( "01/01/" & intYearNum) Else dNextStart = CDate(intMonthNum + 1 & "/01/" & intYearNum) End If GetLastDay = Day(dNextStart - 1) End Function
and replace it with this:
Function GetLastDay(intMonthNum, intYearNum) Dim dNextStart If CInt(intMonthNum) = 12 Then dNextStart = CDate( "01/01/" & intYearNum) Else dNextStart = CDate(MonthName(intMonthNum + 1) & " 1," & intYearNum) End If GetLastDay = Day(dNextStart - 1) End Function
After this line changed, my calendar was correct displayed in default page. Remember: For me this error only occured after i changed the Session.LCID. Without touching the LCID the Calendar was displayed correct !! So, i don't know if this is working for you, too ! But it is worth a Try.