Compensatory Leave Allocation Error

ERPNext: v12.5.2 (version-12)

Frappe Framework: v12.3.0 (version-12)

While allocating compensatory off, getting below error

“To date needs to be before from date”

Tried submitting with below data

  1. From Date: 13-Nov-2021
    End Data: 13-Nov-2021

  2. From Date: 13-Nov-2021
    End Data: 14-Nov-2021

Was able to Submit one entry with 2nd data. Earlier also, there were no issues like this.

All other entries are correct and same as other submitted record.