Question: Did the Battle of Peleliu or the Seven Days Battles last longer?

Context articles: Battle of Gaines's Mill
Battle of Cross Keys
Battle of Glendale
Seven Days Battles
Battle of Port Republic
Savage's Station, Virginia
Battle of Peleliu
Battle of Malvern Hill
Seven Days Union order of battle
Seven Days Confederate order of battle

The Battle of Gaines's Mill, sometimes known as the First Battle of Cold Harbor or the Battle of Chickahominy River, took place on June 27, 1862, in Hanover County, Virginia, as the third of the Seven Days Battles (Peninsula Campaign) of the American Civil War.
 Following the inconclusive Battle of Beaver Dam Creek (Mechanicsville) the previous day, Confederate General Robert E. Lee renewed his attacks against the right flank of the Union Army, relatively isolated on the northern side of the Chickahominy River.
 There, Brig. Gen. Fitz John Porter's V Corps had established a strong defensive line behind Boatswain's Swamp.
 Lee's force was destined to launch the largest Confederate attack of the war, about 57,000 men in six divisions.
 Porter's reinforced V Corps held fast for the afternoon as the Confederates attacked in a disjointed manner, first with the division of Maj. Gen. A.P. Hill, then Maj. Gen. Richard S. Ewell, suffering heavy casualties.
 The arrival of Maj. Gen. Stonewall Jackson's command was delayed, preventing the full concentration of Confederate force before Porter received some reinforcements from the VI Corps.
The Battle of Cross Keys was fought on June 8, 1862, in Rockingham County, Virginia, as part of Confederate Army Maj. Gen. Thomas J. "Stonewall" Jackson's campaign through the Shenandoah Valley during the American Civil War.
 Together, the battles of Cross Keys and Port Republic the following day were the decisive victories in Jackson's Valley Campaign, forcing the Union armies to retreat and leaving Jackson free to reinforce Gen. Robert E. Lee for the Seven Days Battles outside Richmond, Virginia.
The Battle of Glendale, also known as the Battle of Frayser's Farm, Frazier's Farm, Nelson's Farm, Charles City Crossroads, New Market Road, or Riddell's Shop, took place on June 30, 1862, in Henrico County, Virginia, on the sixth day of the Seven Days Battles (Peninsula Campaign) of the American Civil War.
The Seven Days Battles were a series of six major battles over the seven days from June 25 to July 1, 1862, near Richmond, Virginia, during the American Civil War.
 Confederate General Robert E. Lee drove the invading Union Army of the Potomac, commanded by Maj. Gen. George B. McClellan, away from Richmond and into a retreat down the Virginia Peninsula.
 The series of battles is sometimes known erroneously as the Seven Days Campaign, but it was actually the culmination of the Peninsula Campaign, not a separate campaign in its own right.
The Battle of Port Republic was fought on June 9, 1862, in Rockingham County, Virginia, as part of Confederate Army Maj. Gen. Thomas J. "Stonewall" Jackson's campaign through the Shenandoah Valley during the American Civil War.
 Port Republic was a fierce contest between two equally determined foes and was the most costly battle fought by Jackson's Army of the Valley during its campaign.
 Together, the battles of Cross Keys (fought the previous day) and Port Republic were the decisive victories in Jackson's Valley Campaign, forcing the Union armies to retreat and leaving Jackson free to reinforce Gen. Robert E. Lee for the Seven Days Battles outside Richmond, Virginia.
Savage's Station was the wartime name of a supply depot, ammunition dump, field hospital, and command headquarters of the Army of the Potomac during the Peninsula Campaign of the American Civil War.
 Savage's Station was located in Henrico County, Virginia on what was the Richmond and York River Railroad, however the historical department of the Norfolk Southern Railroad, the railroad track's current owner, has no record that an actual train station or station house ever existed on the property.
 A farmhouse is known to have been located in a copse of trees on a small knoll next to the railroad track and is visible in several period drawings and photographs made during the war.
 The house served as the nucleus of a large field hospital during and after the battle of Seven Pines and the Seven Days Battles.
 The house also functioned as General George B. McClellan's headquarters during the battle of Savage's Station on June 29, 1862.
 Although the house survived the battle in 1862, it was burned by Federal cavalry under General Philip H. Sheridan in 1864.
 The house appears to have never been rebuilt, and no trace of it remains today.
 However, a smokehouse from the 19th century still existed on the property as late as the 1930s when it was photographed during a survey of local historical structures as a project of the Civilian Conservation Corps.
 The smokehouse fell into ruin and collapsed sometime prior to the 1980s.
 A small brick-walled cemetery from the 18th century still sits near the former location of the house not far from the railroad track.
The Battle of Peleliu, codenamed Operation Stalemate II by the United States military, was fought between the U.S. and the Empire of Japan during the Mariana & Palau Campaign of World War II, from September to November 1944, on the island of Peleliu.
The Battle of Malvern Hill, also known as the Battle of Poindexter's Farm, was fought on July 1, 1862 between the Confederate Army of Northern Virginia, led by Gen. Robert E. Lee, and the Union Army of the Potomac under Maj. Gen. George B. McClellan.
 It was the final battle of the Seven Days Battles during the American Civil War, taking place on a 130 ft elevation of land known as Malvern Hill, near the Confederate capital of Richmond, Virginia and just one mile (1.6 km) from the James River.
 Including inactive reserves, more than fifty thousand soldiers from each side took part, using more than two hundred pieces of artillery and three warships.
The following Union Army units and commanders fought in the Seven Days Battles (from June 25 to July 1, 1862) of the American Civil War.
 Order of battle compiled from the army organization-return of casualties during the battle and the reports.
 The Confederate order of battle is listed separately.
The following Confederate States Army units and commanders fought in the Seven Days Battles (from June 25 to July 1, 1862) of the American Civil War.
 Order of battle compiled from the army organization during the battle, the casualty returns and the reports.
 The Union order of battle is listed separately.