www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit f3ba225f6f298f4fed43916ddeac75b65fb217f1
parent 9b4eb42c2995c1563869b121d2a831034b294d03
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  4 Feb 2010 23:44:04 +0000

Second part of numeric-leading-zeros fix


Diffstat:
Mchrome/content/zotero/xpcom/csl.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/csl.js b/chrome/content/zotero/xpcom/csl.js @@ -986,7 +986,7 @@ Zotero.CSL.prototype._processElements = function(item, element, formattedString, } else if(part == "day") { string = string.toString(); if(newForm == "numeric-leading-zeros" - && string.length() == 1) { + && string.length == 1) { string = "0" + string; } else if (newForm == "ordinal") { var ind = parseInt(string);