Добрый день, есть функция которая раз в час выводит пользователю сообщение. Можно ли упростить условие if с временем?
function alarm_wt(marker){
var t = dateTime(3);
if (t == "07:58" || t == "08:58" || t == "09:58" || t == "10:58" || t == "11:58" || t == "12:58"
|| t == "13:58" || t == "14:58" || t == "15:58" || t == "16:58" || t == "17:58" || t == "18:58"
|| t == "19:58" || t == "20:58" || t == "21:58" || t == "22:58" || t == "23:58" || t == "00:58"
|| t == "01:58" || t == "02:58" || t == "03:58" || t == "04:58" || t == "05:58" || t == "06:58"){
if (marker){
log_time_wt();
marker = false;
}
};
setTimeout(function() {
alarm_wt(marker);
}, 1000);
}