Why does the readonly datetime input still show the full format in version 9.80?

Hello everyone,

I’m encountering an issue in version 9.80 when working with an input field of type datetime that has the readonly attribute set. Even though I’ve applied a shortened format (e.g., dd/mm/yyyy), the field still displays the full datetime format, including hh:mm:ss.

For example:

  • Expected format: dd/mm/yyyy
  • Actual format displayed: dd/mm/yyyy hh:mm:ss

I’d like to know:

  1. Is this behavior intentional in version 9.80, or is it a potential bug?
  2. Are there any workarounds to force the display to match the desired shortened format while keeping the input readonly?

Looking forward to your insights and suggestions. Thank you! Blush