Why is the War of 1812 commonly called the war of 1812?

The War of 1812 began in 1812.

It used to be referred to as the War of 1812-1814, but that name became too cumbersome and ultimately, through general usage, was shortened to the War of 1812.