Closed
Bug 1199126
Opened 9 years ago
Closed 8 years ago
DateTime column sorting displaying wrong order in Storage Inspector
Categories
(DevTools :: Storage Inspector, defect)
Tracking
(firefox41 affected, firefox42 affected, firefox43 affected, firefox44 affected)
RESOLVED
DUPLICATE
of bug 1073967
People
(Reporter: magicp.jp, Assigned: miker)
References
Details
(Whiteboard: [polish-backlog])
Attachments
(1 file)
(deleted),
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20150826030211
Steps to reproduce:
1. Open Storage Inspector
2. Sort on DateTime column (e.g. Expires on, Last accessed on)
Actual results:
DateTime column sorting displaying wrong order, because DateTime format is "yyyy/m/d H:mm:ss". It is not windows setting.
Expected results:
DateTime format should be "yyyy/mm/dd HH:mm:ss"
Component: Untriaged → Developer Tools: Storage Inspector
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Status: UNCONFIRMED → NEW
status-firefox41:
--- → affected
status-firefox42:
--- → affected
status-firefox43:
--- → affected
status-firefox44:
--- → affected
Ever confirmed: true
Whiteboard: [devtools-polish]
Whiteboard: [devtools-polish] → [polish-backlog]
Updated•9 years ago
|
Comment 1•9 years ago
|
||
I'm not sure changing the formatting is best.
It's using toLocaleString to format the date, which seems best.
Given that, the issue seems to be that TableWidget doesn't allow sorting
columns based on the model -- only on the displayed content.
TableWidget refactoring is going on in bug 1201742.
Assignee | ||
Comment 2•9 years ago
|
||
Making the cookie table editable has meant switching to the proper cookie date format Date.toISOString():
Mon, 02 Jun 2025 12:37:37 GMT
Of course the sorting is still nuked... I should point out that the current XUL-based widget is not good to work with and it's warts have taken by far the majority of my time working on making things editable.
Comment 3•9 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #2)
> Of course the sorting is still nuked... I should point out that the current
> XUL-based widget is not good to work with and it's warts have taken by far
> the majority of my time working on making things editable.
I'm not sure if you've been needing to modify that widget, but just a heads up that there's a tree/table widget in flight at bug 1247065 that should be able to handle this use case.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → mratcliffe
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•