1. 03 Dec, 2021 2 commits
  2. 25 Jun, 2021 7 commits
  3. 22 Jun, 2021 1 commit
  4. 06 May, 2021 6 commits
  5. 22 Apr, 2021 2 commits
  6. 13 Apr, 2021 5 commits
  7. 12 Apr, 2021 2 commits
  8. 08 Apr, 2021 1 commit
  9. 07 Apr, 2021 14 commits
    • Mathieu Le Marec - Pasquet's avatar
      Back to development: 1.0.12 · 4b43649d
      Mathieu Le Marec - Pasquet authored
      4b43649d
    • Mathieu Le Marec - Pasquet's avatar
      Preparing release 1.0.11 · 7a50ae46
      Mathieu Le Marec - Pasquet authored
      7a50ae46
    • Mathieu Le Marec - Pasquet's avatar
      changelog · 5dabfcc3
      Mathieu Le Marec - Pasquet authored
      5dabfcc3
    • zed2015's avatar
      add ut to base case 0 6 30 3 * · d59199f9
      zed2015 authored
      d59199f9
    • zed2015's avatar
      fix bug: bad case:0 6 30 3 * · 5794d0ea
      zed2015 authored
      when crontab day only one day, but last month not has the day, example crontab expression: 0 6 30 3 *
      5794d0ea
    • Lowell Alleman's avatar
      Minor docs tweak · 299b154d
      Lowell Alleman authored
      299b154d
    • Lowell Alleman's avatar
      More consolidation of nth/last-wday functionality · 0065a73b
      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.
      0065a73b
    • Lowell Alleman's avatar
      Cleanup PR based on feedback · 60ced5cd
      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.
      60ced5cd
    • Lowell Alleman's avatar
      Removed some unintentional deltas · eaf06731
      Lowell Alleman authored
      eaf06731
    • Lowell Alleman's avatar
      New CroniterUnsupportedSyntaxError exception · 9983430b
      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.
      9983430b
    • Lowell Alleman's avatar
      Collapsed last day support into nth day mechanism · fada3a21
      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.
      fada3a21
    • Lowell Alleman's avatar
      Working L/non-L detection; updated unittests · 560fea46
      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_*()`
      560fea46
    • Lowell Alleman's avatar
      Updated unit tests · 60e9d201
      Lowell Alleman authored
      - Add new unit tests showing how dow L + other should work
      - Rename some unittests for consistency
      60e9d201
    • Lowell Alleman's avatar
      Integrate parsing logic into _expand() · ecda3405
      Lowell Alleman authored
      - Commented out the dow_types checking (L + non-L) detection and explicit
        blocking due to mishandled corner cases.
      ecda3405