'Returns a string representing the time until the next
time this Job will be run.'

def get_timeuntil(self):

    if self.disabled:
        return _('never    (disabled)')
    delta = (self.next_run - datetime.now())
    if (delta.days < 0):
        return _('due')
    elif (delta.seconds < 60):
        count = (lambda n: ungettext('second', 'seconds', n))
        return (ugettext('%(number)d    %(type)s') % {'number': delta.seconds, 'type': count(delta.seconds)})
    return timeuntil(self.next_run)
