inputDate: chain commit logic refactor