Add 24 hour clock option in settings

Not sure if this is the best implementation. Just used an if-statement to toggle between the date formats.

Also added a setting named `Use 24-hour clock` that if toggled will display time in 24-hour format and also use the `YYYY-MM-DD` format. Wasn't sure if they should be separate settings. And also wasn't sure if the name of the setting makes sense.