Commit 480fdb12 authored by Leo Iannacone's avatar Leo Iannacone

correctly sort End empty time

parent efeebc64
...@@ -118,6 +118,8 @@ var Utils = { ...@@ -118,6 +118,8 @@ var Utils = {
// format time from a timestamp // format time from a timestamp
format_time: function (timestamp, time_in_bold, short) { format_time: function (timestamp, time_in_bold, short) {
if (!timestamp)
return '';
var date = new Date(timestamp * 1000); var date = new Date(timestamp * 1000);
var locale = navigator.language || 'en-US'; var locale = navigator.language || 'en-US';
var options = null; var options = null;
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
<tr> <tr>
<th class="filter-select filter-exact" data-placeholder="All">Distribution</th> <th class="filter-select filter-exact" data-placeholder="All">Distribution</th>
<th>Package</th> <th>Package</th>
<th data-placeholder=">= 01/01/1990">Start</th> <th data-empty="top" data-placeholder=">= 01/01/1990">Start</th>
<th data-placeholder=">= 01/01/1990">End</th> <th data-empty="top" data-placeholder=">= 01/01/1990">End</th>
<th>Uploader</th> <th>Uploader</th>
<th class="filter-select filter-exact" data-placeholder="All">Status</th> <th class="filter-select filter-exact" data-placeholder="All">Status</th>
</tr> </tr>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment