Skip to content

Commit

Permalink
Update-dev: ShiftsBuilder priority in README.ms
Browse files Browse the repository at this point in the history
  • Loading branch information
DurianDan committed Dec 21, 2023
1 parent d4cfa2e commit a4ff101
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ US_WOMAN_LIVING_IN_VIETNAM_MATERNITY_LEAVE_4MONTHS_2024 = ShiftsBuilder(
),
)
```

- To generate `Shift`s, here is `ShiftsBuilder` priority:
> special_shift > days_off_ranges > daily_shifts + workday_weekly
#### 3. Generate `ShiftRange` for year 2024
- `ShiftRange` works like a dictionary, and can check the generated `Shift` at a specific `date`.
```python
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyshiftsla"
version = "0.1.0"
version = "0.2.0"
description = "Highly customizable SLA and work-shifts Generator, for any time-keeping and days-off policies"
authors = ["Huy Vu Nguyen <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit a4ff101

Please sign in to comment.