fix typo in 24h calculation