mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 04:35:33 +00:00
Bug 408696 - Don't show leading 0 for download dates. r=mconnor, a1.9=mconnor
This commit is contained in:
parent
cc876a4969
commit
4a1def214b
@ -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…
Reference in New Issue
Block a user