From a4ff101d15aea6ae08b1cb443fcbcc474b780af6 Mon Sep 17 00:00:00 2001 From: Huy Nguyen Vu Date: Fri, 22 Dec 2023 04:07:26 +0700 Subject: [PATCH] Update-dev: ShiftsBuilder priority in README.ms --- README.md | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 58a045e..c3acd51 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 0a555e2..ec110c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] readme = "README.md"