Time validation: Fix comment

This commit is contained in:
shahramn 2024-02-29 15:15:44 +00:00
parent cf47f8d186
commit 457fad4348
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}