Closed Bug 408696 Opened 17 years ago Closed 17 years ago

Don't show leading 0 for download dates

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9beta3

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

Attachments

(2 files, 3 obsolete files)

Attachment 293481 [details] shows "December 05".. we should be showing "December  5" ?
Attached patch v1 (obsolete) — Splinter Review
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #293531 - Flags: review?(mconnor)
Attached image screenshot of v1 (obsolete) —
Comment on attachment 293531 [details] [diff] [review]
v1

we should strip the leading space for 1-9 to make this look right.
Attachment #293531 - Flags: review?(mconnor) → review-
(In reply to comment #3)
> (From update of attachment 293531 [details] [diff] [review])
> we should strip the leading space for 1-9 to make this look right.

I agree about the extra space.  Otherwise, this looks good!

Attached image screenshot of v1.1
Attachment #293532 - Attachment is obsolete: true
Attached patch v1.1 (obsolete) — Splinter Review
Kill all spaces!
Attachment #293531 - Attachment is obsolete: true
Attachment #293539 - Flags: review?(mconnor)
Comment on attachment 293539 [details] [diff] [review]
v1.1

r+a=me, thanks!
Attachment #293539 - Flags: review?(mconnor)
Attachment #293539 - Flags: review+
Attachment #293539 - Flags: approval1.9+
Checking in toolkit/mozapps/downloads/content/downloads.js;
/cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v  <--  downloads.js
new revision: 1.115; previous revision: 1.114
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-litmus?
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M11
Verified FIXED using my long-standing profile on:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3pre) Gecko/2007121802
Minefield/3.0b3pre

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre)
Gecko/2007121801 Minefield/3.0b3pre

and Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2007121802
Minefield/3.0b3pre
Status: RESOLVED → VERIFIED
Could this have caused bug 408818?
Yes.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Depends on: 408818
Sorry for missing the verification on Windows; my Mac build has a older history than Windows, which literally stopped at the 7-day marker.

I'll be sure to wait longer to verify it next time.

https://litmus.mozilla.org/show_test.cgi?id=5052

in-litmus+
Flags: in-litmus? → in-litmus+
Backed out to fix ui bustage for now. '05' is better than 'oawjfaoiwjfeloajwfelkwajflkawefjlakwefjaf5' :p

Checking in toolkit/mozapps/downloads/content/downloads.js;
/cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v  <--  downloads.js
new revision: 1.120; previous revision: 1.119
done
Attached patch v2Splinter Review
Keep using %d and make it a number so leading 0s disappear.
Attachment #293539 - Attachment is obsolete: true
Attachment #293812 - Flags: review?(comrade693+bmo)
Comment on attachment 293812 [details] [diff] [review]
v2

r=sdwilsh
Attachment #293812 - Flags: review?(comrade693+bmo)
Attachment #293812 - Flags: review+
Attachment #293812 - Flags: approval1.9?
Comment on attachment 293812 [details] [diff] [review]
v2

a=beltzner for 1.9
Attachment #293812 - Flags: approval1.9? → approval1.9+
Checking in toolkit/mozapps/downloads/content/downloads.js;
/cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v  <--  downloads.js
new revision: 1.121; previous revision: 1.120
done
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
Verified FIXED with week-old DM profiles on:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3pre) Gecko/2007123005 Minefield/3.0b3pre

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2007123004 Minefield/3.0b3pre

--and--

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2007123004 Minefield/3.0b3pre

For Real this time :-)
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: