Date format

Status
Not open for further replies.

Marco

Ars Scholae Palatinae
1,346
Nope, not yet. It still always shows "Custom..." even if you haven't set a custom date format.

The problem appears to be with the JavaScript code that loops through the date options and selects the correct one (forums.js, starts at line 168):

Code:
for (var i = 0; i < e.length; i++) {
  if (e.options[i].value == ucp_settings.date_format) {
	self.initInsertions();
	e.selectedIndex = i;
	break;
  }
}

You're calling the initInsertions() function which, as far as I can tell after having looked at it briefly, doesn't do anything useful here and is in fact what's causing the problem. It worked fine after I commented out that line :)
 

QtDevSvr

Ars Legatus Legionis
12,296
Subscriptor++
detour":2pom7kis said:
When I go into board preferences and select "March 31st, 2010, 9:59 am" for instance, as the style of date I want. That sticks and changes the date format on the forums. However, when I go back into board preferences and look at the dropdown, it's on Custom... It's as if the Custom option in the dropdown is permanently selected (in HTML code terms).
Same here. IE 8 & FF 3.6.2, Vista.
 
Status
Not open for further replies.