Bug 408696 - Don't show leading 0 for download dates. r=mconnor, a1.9=mconnor
git-svn-id: svn://10.0.0.236/trunk@241553 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a33544aaf1
commit
287ce16c5e
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user