title: How to Format the Date in SAPUI5?
body: <p>How to format the Date and time in sapui5 application. Formatter option is not working. Please suggest some idea. Shared the tried code also.</p>
  <p>my code :</p>
  <pre><code>new sap.m.ObjectIdentifier({  width : &quot;100%&quot; ,
          title : &quot;{DocDate}&quot;,
          type: new sap.ui.model.type.DateTime({pattern: &quot;yyyy-MM-dd&quot;})
   
      }) 
  </code></pre>
  <p>result :
  <a href="https://i.stack.imgur.com/Xqtqy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xqtqy.png" alt="result" /></a></p>
  <p>I need result like this : 2020-09-08</p>
  <p>If anyone has an idea or a suggestion, I'd be more than thankful if you let me know.</p>