'Returns time in string format
:rtype str'

def get_time_string(self, time=None):

    time = self.get_time_tuple(time)
    if ((not time) and self.time_from):
        return self.get_time_string((datetime.now() - self.time_from))
    elif (not time):
        return ''
    hours = time[0]
    minutes = time[1]
    string = ''
    if (hours or minutes):
        if hours:
            string += (_('%2i    hours    ') % (hours,))
        if minutes:
            string += (_('%2i    minutes') % (minutes,))
    else:
        string = _('Less    than    1    minute')
    return string
