It's somewhat of a weird use case, but when converting a time-like value with pd.to_datetime pandas uses different values for the year, month, and day depending upon whether the format is specified.
pd.to_datetime('02:12:11', format='%H:%M:%S')
#Timestamp('1900-01-01 02:12:11')
pd.to_datetime('02:12:11')
#Timestamp('2021-03-17 02:12:11')
I had assumed that 1900-01-01T00:00:00.000 would be used to fill missing components in all cases, consistent with the datetime Technical Detail, (what the pandas docs link to) but somehow it decides to use 'today' to get the other components without a format.
Is this documented somewhere or expected behavior?


