Preheat oven to 350°F. Lightly grease two 6" round cake pans with butter or oil and line the bottoms with parchment. Set aside.
In a mixing bowl sift together the flour, cinnamon, baking soda, nutmeg, all spice, and salt.
In another mixing bowl, whisk together sugar, oil, eggs, milk, and vanilla.
Pour dry ingredients into the wet ingredients and stir until completely combined.
Fold in apples and thyme until evenly distributed throughout batter.
Pour mixture into the prepared cake pans and bake for 20 to 25 minute or until a toothpick comes out clean when inserted into center of the cake.
Allow cake to cool for about 30 minutes, then refrigerate until cakes are cold.