Community
Participate
Working Groups
The look and feel of the file navigator attributes I think could be better and more compact while delivering roughly the same info. The two that really stick out for me are the Date/Time and Size. we should stick to a single unit and use a format something like in windows explorer. e.g. 4/28/2011 5:29PM for date modified and then always use rounded KB for size.
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.