From 457fad43488571d319b0cdb7ba51b50b65dd83a7 Mon Sep 17 00:00:00 2001 From: shahramn Date: Thu, 29 Feb 2024 15:15:44 +0000 Subject: [PATCH] Time validation: Fix comment --- src/codes_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codes_util.cc b/src/codes_util.cc index 2d91fa598..57613109a 100644 --- a/src/codes_util.cc +++ b/src/codes_util.cc @@ -230,7 +230,7 @@ int is_time_valid(long number) long hours = number / 100; // Get the first two digits as hours long minutes = number % 100; // Get the last two digits as minutes - // Check if hours are within the valid range (00-23) + // Check if hours are within the valid range (00-24) if (hours < 0 || hours > 24) { return 0; }