             return raw_date_str.slice(0, raw_date_str.indexOf('GMT')+3)+timezone
 
 
-
-
+        binary_to_string: (bin) =>
+            size = bin.data.length
+
+            if size >= 1073741824
+                bytes = (size/1073741824).toFixed(1)+'GB'
+            else if size>=1048576
+                size = (size/1048576).toFixed(1)+'MB'
+            else if size>=1024
+                size = (size/1024).toFixed(1)+'KB'
+            else if size > 1
+                size = size+' bytes'
+            else if size <= 1
+                size = size+' byte'
+
+            "<binary, #{size}, \"#{bin.data.slice(0, 10)}...\">"
 
     class @ResultView extends DataExplorerView.SharedResultView
         className: 'result_view'


        # Build the table
        # We order by the most frequent keys then by alphabetic order
        # if indexes is null, it means that we can order all fields
        json_to_table: (result, primary_key, can_sort, indexes) =>
            # While an Array type is never returned by the driver, we still build an Array in the data explorer
            # when a cursor is returned (since we just print @limit results)
            if not result.constructor? or result.constructor isnt Array

                    sub_values[sub_values.length-1]['no_comma'] = true
                    return @template_json_tree.array
                        values: sub_values
            else if Object::toString.call(value) is '[object Object]' and value.$reql_type$ is 'TIME'
                return @template_json_tree.span
                    classname: 'jt_date'
                    value: @date_to_string(value)
            else if Object::toString.call(value) is '[object Object]' and value.$reql_type$ is 'BINARY'
                return @template_json_tree.span
                    classname: 'jt_bin'
                    value: @binary_to_string(value)

            else if value_type is 'object'
                sub_keys = []
                for key of value
