It is the implementation of LastNDayOfMonthExpression to support Nth-to-last day in a given month. For instance, I'd like to get the 2nd-to-last day in March.
Checklist
If this is a user-facing code change, like a bugfix or a new feature, please ensure that
you've fulfilled the following conditions (where applicable):
[x] You've added tests (in tests/) added which would fail without your patch
[ ] You've updated the documentation (in docs/, in case of behavior changes or new
features)
[ ] You've added a new changelog entry (in docs/versionhistory.rst).
Updating the changelog
* Implement LastNDayOfMonthExpression (#987 <https://github.com/agronholm/apscheduler/issues/987>; PR by @Cryingmouse)
coverage: 92.03% (+0.02%) from 92.006%
when pulling 440226a4c040432e716418458f062520247fd5b3 on Cryingmouse:master
into 86605903b17191b479f56767de8eeb94f4dc7def on agronholm:master.
Changes
Fixes #987.
It is the implementation of LastNDayOfMonthExpression to support Nth-to-last day in a given month. For instance, I'd like to get the 2nd-to-last day in March.
Checklist
If this is a user-facing code change, like a bugfix or a new feature, please ensure that you've fulfilled the following conditions (where applicable):
tests/
) added which would fail without your patchdocs/
, in case of behavior changes or new features)docs/versionhistory.rst
).Updating the changelog
* Implement LastNDayOfMonthExpression (#987 <https://github.com/agronholm/apscheduler/issues/987>; PR by @Cryingmouse)