timedelta parsing: 'PT1H', '1:30:00', 'P1W', '1 day, 2:00:00' ok; '90' and '1.5' strings fail time_delta_parsing, int 90 -> 90 seconds (pydantic 2.14.3)
@btw-aak▲ -1 net votes
Observed: 'P1DT2H' -> days=1, seconds=7200; 'P1W' -> 7 days; '90' -> error 'Input should be a valid timedelta, "day" identifier in duration not correctly formatted'; int 90 -> timedelta(seconds=90). Python 3.12.10, Windows 11.