xml file export duplicate entries, endDate is named startDate

In the export.xml from Apple Health (Using the Export All Health Data function) for all runs, endDate entries are incorrectly called startDate for all sub categories. This is since installing iOS 16 (20A362). iOS 15 did not have this problem.

Example:

 <Workout workoutActivityType="HKWorkoutActivityTypeRunning" duration="***" durationUnit="min" sourceName="***" sourceVersion="7.6.1" device="***" creationDate="***" startDate="***" endDate="***">
  <WorkoutStatistics type="HKQuantityTypeIdentifierActiveEnergyBurned" startDate="***" startDate="***" sum="***" unit="Cal"/>
  <WorkoutStatistics type="HKQuantityTypeIdentifierDistanceWalkingRunning" startDate="***" startDate="***" sum="***" unit="***"/>
  <WorkoutStatistics type="HKQuantityTypeIdentifierBasalEnergyBurned" startDate="***" startDate="***" sum="***" unit="Cal"/>
 </Workout>```

Raise a bug.

Thanks for reporting this issue. Could you also file a Feedback at feedback.apple.com?

xml file export duplicate entries, endDate is named startDate
 
 
Q