Added patch for date