Unfortunately it didn’t work for me. I followed the discussion in here, especially your post #9. I took pattern
"%tH:%tM"
from here.
In my UI the time is still in 12 hour format in the input field but in the footer it is in 24 hour format (see attached image).