Leave Application and attendance for the flag "Include holidays within leaves as leaves"

I have created leave application for Privilege leave for the dates 1 jul to 3 jul ,there was sunday on jul 2 and i disabled flag “Include holidays within leaves as leaves” . using this configuration i am able to apply total 2 days leave but it doesn’t allow mark present for jul 2 it only takes on leave status. so what is the benefit of this feature .

@poojavadher what version are you on? This was fixed back in v14 & 13 too.

ERPNext: v14.35.1 (HEAD)
Frappe Framework: v14.45.0 (HEAD)
Frappe HR: v14.10.1 (HEAD)