| Summary: | [client] simplify presentation of navigator file attributes | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Simon Kaegi <simon_kaegi> |
| Component: | Client | Assignee: | Susan McCourt <susan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | malgorzata.tomczyk |
| Version: | 0.2 | Keywords: | polish |
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Simon Kaegi
fixed. - We now use dojo.date.locale to format the date. This uses the default locale's "short presentation" for date and time, which matches the standard platform locale formatting. So now the results in navigator look exactly like those in win file explorer, such as 5/3/2011 11:34AM in the US English locale. - For sizes we round up the KB to the nearest whole and use dojo.number to format it. Verified that the results for empty files and large files (over 1000 KB) format the same as the platform. For example, on windows: empty.txt 0 KB myfile.txt 16 KB bigfile.zip 2,090 KB cc'ing Gosia. I fixed explorer-table, but I assume you are formatting dates elsewhere in some of the git pages. |