code: function(seconds){
        var now, deadline;
        now = new Date();
        deadline = new Date();
  
        // Convert back to milliseconds by multiplying by 1000
        deadline.setTime(seconds * 1000);
  
        return parseInt( deadline.getTime() / 3600000 - now.getTime() / 3600000);
      }
docs: /*
  parse_remaining_time
  
  Called by draw_item. This parses the hours remaining to finish a task given its deadline timestamp created by create_deadline.