Change days have a value of 0.5 instead of 2
This commit is contained in:
parent
8f4fc97da0
commit
11dd02d3c7
@ -18,12 +18,12 @@ DATA_URL = (
|
||||
)
|
||||
FROM = 0
|
||||
TO = 2000
|
||||
STATUS_MAPPING = {"DayF": 0, "DayB": 1, "DayFB": 2, "DayBF": 2}
|
||||
STATUS_MAPPING = {"DayF": 0, "DayB": 1, "DayFB": 0.5, "DayBF": 0.5}
|
||||
|
||||
|
||||
class Availability(BaseModel):
|
||||
date: datetime
|
||||
status: int
|
||||
status: float
|
||||
|
||||
|
||||
class Entry(BaseModel):
|
||||
|
Loading…
x
Reference in New Issue
Block a user