feat: time_20_y 改为6点半

This commit is contained in:
caoqianming 2024-03-11 15:38:09 +08:00
parent a32cefb939
commit 38b7d0c586
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ class HrmService:
time_20_x = datetime(year=s_time_f.year, month=s_time_f.month,
day=s_time_f.day, hour=16, minute=0, second=0, tzinfo=tzinfo)
time_20_y = datetime(year=s_time_f.year, month=s_time_f.month,
day=s_time_f.day, hour=18, minute=10, second=0, tzinfo=tzinfo)
day=s_time_f.day, hour=18, minute=30, second=0, tzinfo=tzinfo)
if time_10_x < s_time_f < time_10_y:
card_type = 10
elif time_20_x < s_time_f < time_20_y: