- 28 Dec, 2021 1 commit
-
-
Thomas Goirand authored
-
- 29 Sep, 2021 1 commit
-
-
Thomas Goirand authored
-
- 24 Aug, 2021 3 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
-
Thomas Goirand authored
Tagging 1.0.15
-
- 25 Jun, 2021 6 commits
-
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
Fixes #170 #171
-
kiorky authored
fix missing encoding parameter in setup.py
-
- 22 Jun, 2021 1 commit
-
-
olivierdalang authored
-
- 06 May, 2021 6 commits
-
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
Pēteris Caune authored
-
Pēteris Caune authored
-
Pēteris Caune authored
-
- 22 Apr, 2021 2 commits
-
-
kiorky authored
Spelling.
-
Victor Shih authored
-
- 13 Apr, 2021 5 commits
-
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
rel #162
-
- 12 Apr, 2021 2 commits
-
-
Ryan Finnie authored
Closes: taichino/croniter#162
-
Ryan Finnie authored
C901 is normally not checked because max-complexity is not set, but if the user has max-complexity set in their user-wide .config/flake8, this will prevent false positives.
-
- 08 Apr, 2021 1 commit
-
-
Mathieu Le Marec - Pasquet authored
-
- 07 Apr, 2021 12 commits
-
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
Mathieu Le Marec - Pasquet authored
-
zed2015 authored
-
zed2015 authored
when crontab day only one day, but last month not has the day, example crontab expression: 0 6 30 3 *
-
Lowell Alleman authored
-
Lowell Alleman authored
- Remove _get_last_weekday_of_month and replaced it with _get_nth_weekday_of_month() and avoid making multiple calls to the calendar module when both '#' and 'L' syntax are used at the same time. - Updated unittests for get_last_weekday_of_month() to instead simply call _get_nth_weekday_of_month()[-1]. - Create unit test for new function. Note that _get_nth_weekday_of_month() is a good candidate for caching as repeated calls to calendar add up over time, especially when evaluating multiple cron expressions concurrently.
-
Lowell Alleman authored
- Optimize scenario where only 'L' modifier exists in the wday expression to reduce the number of invocations of the calendar module. - Cleanup and combined parsing logic for specialty wday syntax (d#n/ Ld) - Add new unit tests to confirm proper exception handling for out-of-range 'L' and '#' nth month for the wday expression. - Add examples of new syntax in README. - Update changelog to cover new syntax and new exception.
-
Lowell Alleman authored
-
Lowell Alleman authored
- Added new exception class and detection log for the currently known corner case where croniter is unlikely to return the correct results. - Updated unittests to look for this new exception.
-
Lowell Alleman authored
- Removed much of my new implementation logic, and merged it into the existing nth_weekday_of_momth data structure. The difference between 5th Saturday '6#5' and last Saturday of the month 'L6', in is simply `{'l'}` vs `{5}`. - Updated tests cases based on new capabilities (which were decently expanded, and several limitations and pain points in the code eliminated)! - Marked some test cases with 'expectedFailure' because apparently in the current implementation mixing literal dow values with nth dow isn't properly supported. At least there's no unittests showing that it should work. You get results, but they appear to be wrong to me. So I'm considering this to be a bug, rather than something my new code broke. -
Lowell Alleman authored
- Expanded several few unit tests to show combinations of dow mixing, separately and combined, so that if mixed dow mode becomes supported there are a few tests to start from. See tests `test_lwom_mixup_*()`
-