[do-not-merge-yet] Fix date calculations pay leave parents