Re: Use of TIME_INPUT_FORMATS in TimeField

2024-12-08 Thread Arthur Pemberton
To simplify things further, within a view: TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M', '%I:%M %p'] and forms.TimeField.input_formats = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] On Sun, Dec 8, 2024 at 9:55 AM Arthur Pemberton wrote: > I finally got back to this. > > I have a failing m

Re: Use of TIME_INPUT_FORMATS in TimeField

2024-12-08 Thread Arthur Pemberton
I finally got back to this. I have a failing minimal project (not test) that demonstrates TIME_INPUT_FORMATS not being respected: https://github.com/pembo13/dateentry In the example, the form should be valid, if TIME_INPUT_FORMATS worked as documented. I _think_ there's something about how the u