capricious

Definition

Given to sudden and unpredictable changes in mood or behavior; impulsive and erratic.

Example

"The capricious weather made it hard to plan the outdoor concert."