[ http://jira.dspace.org/jira/browse/DS-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11751#action_11751 ]
Tim Donohue commented on DS-691: -------------------------------- +1 to the patch, and to keeping the KB/MB/GB suffixes. I worry that other suffixes would just be confusing as they are not used frequently at all -- and, for example, Windows uses "KB" for 2^10 bytes, rather than KiB. Not to say that Windows always does things correctly, but it's probably best to try to avoid to much confusion :) > file size math in the mets:file template in General-Handler.xsl (XMLUI) is > incorrect > ------------------------------------------------------------------------------------ > > Key: DS-691 > URL: http://jira.dspace.org/jira/browse/DS-691 > Project: DSpace 1.x > Issue Type: Bug > Components: XMLUI > Affects Versions: 1.6.2 > Environment: all environments > Reporter: Hardy Pottinger > Assignee: Kim Shepherd > Priority: Minor > Attachments: corrected_file_size_math.patch > > Original Estimate: 1 minute > Remaining Estimate: 1 minute > > This is a little nit-picky, but every time I open up the General-Handler.xsl, > to look for code to copy/paste to my theme, the math error has bugged me, so, > here's a patch to fix it. There are 1024 bytes in a KB, 1048576 bytes in a > MB, and 1073741824 bytes in a GB. The current "metric" numbers are incorrect, > and inflate the file sizes displayed by the XMLUI. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel