fix(query): timezone check minor fix

This commit is contained in:
Ganlin Zhao 2022-06-10 10:18:31 +08:00
parent f2426f80c3
commit e46783954d
1 changed files with 1 additions and 1 deletions

View File

@ -1054,7 +1054,7 @@ static bool validateHourRange(int8_t hour) {
}
static bool validateMinuteRange(int8_t hour, int8_t minute, char sign) {
if (minute == 0 || (minute == 30 && (hour == 3 || hour == 5) && sign == '-')) {
if (minute == 0 || (minute == 30 && (hour == 3 || hour == 5) && sign == '+')) {
return true;
}