Add setting to switch between 12 and 24 hour timestamps

Resolves #282