django_any/forms.py
def time_field_data(field, **kwargs):
    """
    Return random value for TimeField

    >>> result = any_form_field(forms.TimeField())
    >>> type(result)
    <type 'str'>
    """
    time_format = random.choice(field.input_formats or formats.get_format('TIME_INPUT_FORMATS'))

    return time(xunit.any_int(min_value=0, max_value=23),
                xunit.any_int(min_value=0, max_value=59),
                xunit.any_int(min_value=0, max_value=59)).strftime(time_format)
def time_field_data(field, **kwargs):
    time_format = random.choice(field.input_formats or formats.get_format('TIME_INPUT_FORMATS'))

    return time(xunit.any_int(min_value=0, max_value=23),
                xunit.any_int(min_value=0, max_value=59),
                xunit.any_int(min_value=0, max_value=59)).strftime(time_format)
def time_field_data ( field , * * kwargs ) : time_format = random . choice ( field . input_formats or formats . get_format ( 'TIME_INPUT_FORMATS' ) ) return time ( xunit . any_int ( min_value = 0 , max_value = 23 ) , xunit . any_int ( min_value = 0 , max_value = 59 ) , xunit . any_int ( min_value = 0 , max_value = 59 ) ) . strftime ( time_format )
Return random value for TimeField

    >>> result = any_form_field(forms.TimeField())
    >>> type(result)
    <type 'str'>
Return random value for TimeField