Fix 12h/24h time detection. Closes #149.