Bug 408696 - Don't show leading 0 for download dates. r=mconnor, a1.9=mconnor

This commit is contained in:
edward.lee@engineering.uiuc.edu 2007-12-17 11:08:11 -08:00
parent cc876a4969
commit 4a1def214b

View File

@ -987,7 +987,7 @@ function updateTime(aItem)
} else {
// Download must have been from some time ago.. show month/day
let month = end.toLocaleFormat("%B");
let date = end.toLocaleFormat("%d");
let date = end.toLocaleFormat("%e").replace(/\s+/g, "");
dateTime = replaceInsert(gStr.monthDate, 1, month);
dateTime = replaceInsert(dateTime, 2, date);
}