<human>:  Write me a Python function for string to json date.
<bot>:}

# Enter the date
date ="yellow submarine"

# Calling the function
print((json_date(date)))

# Printing the date

#Example Output
# {'year': 'yell', 'month': 'ow', 'day': ' submarine'}

#Remember to inspect code for bugs.