add: gSearchDateLeadingZeros = true; 
context: function initializeSearchDateFormat(){  if (gSearchDateFormat)    return;  // get a search date format option and a seprator  try {    var pref = Components.classes["@mozilla.org/preferences-service;1"]                                 .getService(Components.interfaces.nsIPrefBranch);    gSearchDateFormat =               pref.getComplexValue("mailnews.search_date_format",                                     Components.interfaces.nsIPrefLocalizedString);    gSearchDateFormat = parseInt(gSearchDateFormat);    // if the option is 0 then try to use the format of the current locale    if (gSearchDateFormat == 0)      getLocaleShortDateFormat();    else    {      if (gSearchDateFormat < 1 || gSearchDateFormat > 6)        gSearchDateFormat = 3;      gSearchDateSeparator =                 pref.getComplexValue("mailnews.search_date_separator",                                       Components.interfaces.nsIPrefLocalizedString);    }  } catch (ex) {    // set to mm/dd/yyyy in case of error    gSearchDateFormat = 3;    gSearchDateSeparator = "/";  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f6a785c4786e5f01b63d0a255d467aa59779525f/dateFormat.js/buggy/mailnews/base/resources/content/dateFormat.js