| Summary: | Goofy date format in navigator page | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Client | Assignee: | Project Inbox <orion.client-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
John Arthorne
I see this was due to the move away from dojo date formatting utilities: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/diff/bundles/org.eclipse.orion.client.core/web/orion/explorers/navigatorRenderer.js?id=7becf2c474ad726072188be932ebfcaf6ad419ea Luckily the recently released ecmascript internationalization spec should help here: http://norbertlindenberg.com/2012/12/ecmascript-internationalization-api/index.html So the goofy format I was seeing was in Chrome 23. In my reading I found Chrome 24 is supposed to implement the new ecma internationalization spec. So I installed Chrome 24 and right away I see a more reasonable date format without changing any Orion code. So this might be a place where we are just switching away from dojo at the right time, when the core platform is now providing the bits we need. Since it looks more reasonable to me now, I will close as wontfix. However if needed there are new optional arguments on Date.toLocaleString where we can customize the format. thanks for looking into this, John. I was running Chrome 24 so I didn't notice a problem, but this is a good reminder to keep on the lookout in other browsers. |