I am trying to fix a bug that has appeared in a birthday component in my application. The component gets the date of birth from its props in this format 1997-08-16T00:
1997-08-16T00: