rem: var month = date.getUTCMonth() + 1; datetime += (month < 10 ?  '0' + month : month); 
add: var month = String(date.getUTCMonth() + 1); datetime += (month.length == 1 ?  '0' + month : month); 
context: function iso8601Format(date) {    var datetime = date.getUTCFullYear();    var month = date.getUTCMonth() + 1;    datetime += (month < 10 ?  '0' + month : month);    var day = date.getUTCDate();    datetime += (day < 10 ? '0' + day : day);    datetime += 'T';    var hour = date.getUTCHours();    datetime += (hour < 10 ? '0' + hour : hour) + ':';    var minutes = date.getUTCMinutes();    datetime += (minutes < 10 ? '0' + minutes : minutes) + ':';    var seconds = date.getUTCSeconds();    datetime += (seconds < 10 ? '0' + seconds : seconds);    return datetime;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e428d8afb1254bdca7de7e55b0c522b0cc0874be/nsXmlRpcClient.js/buggy/extensions/xml-rpc/src/nsXmlRpcClient.js