add date to patch for patch sorting