Doctype field of type date is showing as string data type in print format

I have a field called posting_date which is of type date, when i am making a print format for then the field is converted into string data type
how can i convert the field into date type
i want to convert the date has January 24

current print format code:

sdcsdvdv

getting error

console

Hi @Vinay1,

Please use it and check it.

{{ doc.get_formatted('posting_date')}}

Other reference:

Thank You!