Products/Services Website Design DNN Web Hosting Bespoke Software Solutions
Spotlight Business Made Simple Credica Wilson Chauffeur Services Lysander Whitegrove FC Ultramagic Bracklesham Boardriders Johns Motors
DotNetNuke Modules janet.Articles janet.ReferMe! janet.Menu janet.Gallery janet.Guestbook janet.GoogleAds janet.Marquee
DotNetNuke Skins janet.VeniceGrandCanal janet.ParisSkyline janet.ColourBar
Articles HTML Javascript ASP .net DotNetNuke Web Robots
IE7 has introduced an error in the use of the pop-up calendar control. When dates are transferred from the popup calendar (date clicked) the resultant value in the text box is rendered in American date format (mm/dd/yyyy) rather than the localised version, for example English (dd/mm/yyyy).
This bug is reported more fully in the Gemini bug database http://support.dotnetnuke.com/issue/ViewIssue.aspx?ID=4506
The offending line is the setting of the anchorval in the function calPopupSetData
if(((weekDay+7-popCalFirstDayWeek)%7 != calDay) || (monthDate > lastDate)) { popCalData+=(""); continue; } else { anchorVal = " window.opener.closeCalPopup()\">"; jsVal = "javascript:window.opener.calPopupSetDate(window.opener.popCalDstFld,'" + constructDate(monthDate,thisMonth+1,thisYear) + "'); window.opener.closeCalPopup()"; popCalData += (""); if ((firstDay.getMonth() == dtToday.getMonth()) && (monthDate == dtToday.getDate()) && (thisYear == dtToday.getFullYear()) ) popCalData += (anchorVal+fnt[2]+monthDate+""); else popCalData += (anchorVal+fnt[1]+monthDate+""); weekDay++; monthDate++; }
The modified line is as below:
anchorVal = "
Note that the above was taken from DNN3.3.7. Please ensure that you have a backup of the original version before implementing the changes described above.
NAT August 2007
Copyright © 2004-2007 Janet Systems Ltd.
For DotNetNuke modules and skins take a look at:
DotNetNuke Website design and hosting from £15.00 per month. More...
Looking for a website design company in the Thames Valley, call us on 01628 566178
DotNetNuke ModulesDotNetNuke Skins
from Janet Systems