| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat: Support for day-or in matchdevs | 田口信元 | 2020-06-08 | 2 | -2/+32 |
| | | |||||
| * | Fix sorting on py3 | Mathieu Le Marec - Pasquet | 2020-05-27 | 1 | -1/+2 |
| | | | | | This fixes #127 | ||||
| * | Fix style | Mathieu Le Marec - Pasquet | 2020-05-27 | 1 | -11/+12 |
| | | |||||
| * | Add more DST tests | Mathieu Le Marec - Pasquet | 2020-05-27 | 1 | -1/+55 |
| | | |||||
| * | Test for #127 | Mathieu Le Marec - Pasquet | 2020-05-27 | 1 | -0/+5 |
| | | | | | This fixes #127 | ||||
| * | Add datetime/crontab match method. | Mathieu Le Marec - Pasquet | 2020-05-27 | 2 | -0/+23 |
| | | | | | Implement and fixes #54. | ||||
| * | Document more second repeats. | Mathieu Le Marec - Pasquet | 2020-05-27 | 2 | -8/+29 |
| | | | | | This fixes taichino/croniter#122 | ||||
| * | Changed lag_hours comparison to absolute to manage dst boundary when getting ↵ | Sokkka | 2020-05-18 | 2 | -2/+23 |
| | | | | | previous | ||||
| * | Fix get_next() when start_time less then 1s before next instant | Alex Hill | 2020-01-02 | 2 | -19/+38 |
| | | |||||
| * | Handle -Sun notation | Mathieu Le Marec - Pasquet | 2019-03-26 | 2 | -3/+73 |
| | | | | | This fixes #119. | ||||
| * | Handle invalid ranges correctly | Mathieu Le Marec - Pasquet | 2019-03-26 | 2 | -1/+8 |
| | | | | | This fixes #114 | ||||
| * | (fix#107): microsecond threshold | Mathieu Le Marec - Pasquet | 2018-06-20 | 2 | -0/+23 |
| | | |||||
| * | fix `get_next` while perserving the fix of `get_prev` in 7661c2aaa | Avikam Agur | 2018-05-22 | 2 | -1/+18 |
| | | |||||
| * | Don't count previous minute if now is dynamic | Igor Khrol | 2018-03-05 | 2 | -1/+8 |
| | | | | | If the code is triggered from 5-asterisk based cron `get_prev` based on `datetime.now()` is expected to return current cron iteration and not previous execution. | ||||
| * | Fix sao paulo timezone test. | Kevin Rose | 2017-11-06 | 1 | -4/+4 |
| | | |||||
| * | remove outdated comment | Kevin Rose | 2017-11-06 | 1 | -1/+0 |
| | | |||||
| * | correctly handle DST changes | Kevin Rose | 2017-11-06 | 1 | -11/+6 |
| | | |||||
| * | fix #87: backward dst changes | Mathieu Le Marec - Pasquet | 2017-08-31 | 2 | -15/+69 |
| | | |||||
| * | pep8 | Mathieu Le Marec - Pasquet | 2017-08-31 | 1 | -3/+6 |
| | | |||||
| * | Adding class method is_valid to validate cron syntax | otherpirate | 2017-07-06 | 2 | -99/+127 |
| | | |||||
| * | Creating base croniter error | otherpirate | 2017-07-06 | 1 | -6/+10 |
| | | |||||
| * | Address issue #68 | Kengo Seki | 2017-05-21 | 2 | -15/+126 |
| | | |||||
| * | Flake8 Compliance and Test | Mathieu Le Marec - Pasquet | 2017-03-15 | 1 | -10/+14 |
| |\ | |||||
| | * | Finding and fixing flake8 violations; adding flake8 as a test dep | Michael Crilly | 2017-03-10 | 1 | -10/+14 |
| | | | |||||
| * | | Implement DST support | Mathieu Le Marec - Pasquet | 2017-03-15 | 2 | -4/+66 |
| |/ | | | | This fixes https://github.com/taichino/croniter/issues/82 | ||||
| * | fix bug around multiple conditions and range_val in | Yuki Chiba | 2017-02-16 | 2 | -1/+74 |
| | | | | | _get_prev_nearest_diff | ||||
| * | issue #69: added day_or option to change behavior when day-of-month and ↵ | Andreas Vogl | 2016-12-22 | 2 | -2/+21 |
| | | | | | | | | | day-of-week is given cron defineds that day-of-month and day-of-week should be connected using OR, however, an AND connection would be expected by some users as it is implemented in fcron. This day_or option allows to switch between the behaviour | ||||
| * | py3 fix | Mathieu Le Marec - Pasquet | 2012-04-13 | 1 | -3/+4 |
| | | |||||
| * | py 26 fix | Mathieu Le Marec - Pasquet | 2012-04-12 | 1 | -1/+2 |
| | | |||||
| * | Real fix for #3434 | Mathieu Le Marec - Pasquet | 2016-10-30 | 3 | -19/+30 |
| | | |||||
| * | Merge pull request #60 from josegonzalez/issue-57 | Mathieu Le Marec - Pasquet | 2016-11-01 | 2 | -2/+37 |
| |\ | | | | | Implement step cron with a variable base | ||||
| | * | Implement step cron with a variable base | Jose Diaz-Gonzalez | 2016-08-15 | 2 | -2/+37 |
| | | | | | | | | | Closes #57 | ||||
| * | | Merge pull request #63 from josegonzalez/issue-25 | Mathieu Le Marec - Pasquet | 2016-11-01 | 1 | -0/+4 |
| |\ \ | | | | | | | Raise ValueError on negative numbers | ||||
| | * | | Update error message | Jose Diaz-Gonzalez | 2016-10-27 | 1 | -1/+1 |
| | | | | |||||
| | * | | Raise ValueError on negative numbers | Jose Diaz-Gonzalez | 2016-08-15 | 1 | -0/+4 |
| | |/ | | | | | | | Closes #25 | ||||
| * | | Compare types using `issubclass` instead of exact match | Leonid Evdokimov | 2016-10-13 | 1 | -3/+3 |
| |/ | | | | | | | | | | It makes life with mocked datetime a bit easier as one can mock imported datetime and create a class derived from datetime.datetime, but can't mock datetime itself as it's C library. Examples of alike FakeDatetime may be found here: - https://github.com/apache/incubator-airflow/blob/master/tests/ti_deps/deps/runnable_exec_date_dep.py - https://github.com/TheTorProject/ooni-probe/blob/master/ooni/tests/test_scheduler.py | ||||
| * | Merge pull request #65 from int3rlop3r/master | Mathieu Le Marec - Pasquet | 2016-08-15 | 2 | -4/+13 |
| |\ | | | | | Better handling of invalid expressions | ||||
| | * | Better handling of invalid expressions | Jonathan | 2016-08-07 | 2 | -4/+13 |
| | | | | | | | | | | | | | | | Expressions such as negative values and invalid characters used to throw a KeyError with a not so helpful error message. In this change invalid expressions will throw a ValueError with a more helpful error message. | ||||
| * | | Changed shebang | Jonathan Fernandes | 2016-08-07 | 1 | -1/+1 |
| |/ | | | Changed shebang to use the right python version. | ||||
| * | Add testcase to prove that issue 34 is still not parseable | Jose Diaz-Gonzalez | 2016-07-27 | 1 | -0/+5 |
| | | |||||
| * | Fix error message when not able to find a previous date | Jose Diaz-Gonzalez | 2016-07-27 | 1 | -1/+3 |
| | | | | | Refs #34 | ||||
| * | support setting ret_type in __init__ | Brent Tubbs | 2016-02-24 | 1 | -11/+15 |
| | | |||||
| * | Bug fix: The get_prev API crashed when last day of month token was used. ↵ | iddo | 2016-01-12 | 2 | -1/+48 |
| | | | | | Some essential logic was missing. | ||||
| * | The fuctionality of 'l' as day of month was brokne, since the month variable ↵iddoav/bug/last_day_of_month_is_not_correct | iddo | 2015-11-23 | 2 | -0/+17 |
| | | | | | was not properly updated | ||||
| * | added python 2.6 comment so it won't be deleted | Peter van 't Zand | 2015-11-19 | 1 | -2/+3 |
| | | |||||
| * | the function should be a class method instead of instance method because it ↵ | Peter van 't Zand | 2015-07-15 | 1 | -1/+2 |
| | | | | | doesn't perform an action on the instance | ||||
| * | created timedelta to seconds function because python2.6-datetime doesn't ↵ | Peter van 't Zand | 2015-07-15 | 2 | -2/+11 |
| | | | | | support .total_seconds() | ||||
| * | Truncate microseconds by setting to 0 | Corey Wright | 2015-06-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To maintain backwards compatible behavior and comparability of time values returned by croniter, truncate microseconds from return value of get_(prev|next) by setting it to 0. Commit f7e14967 replaced `mktime(dst.timetuple())`, which truncates microseconds as timetuple() omits microseconds, with `self._datetime_to_timestamp(dst)` which maintains microseconds. This commit sets microseconds to 0, effectively truncating microseconds as was done previously. Always setting microseconds to 0 is inline with the maintained behavior of settings seconds to 0 when the cron format omits seconds (ie 5 column cron format) as the cron format always omits microseconds. Currently time values returned by croniter are not easily compared when the start time differs, if only in microseconds, because the start time's microseconds are maintained in the output of get_(prev|next). The start time commonly differs when the time value is communicated between application executions (eg in a database) or between different applications (eg over the network). So restoring the previous behavior not only restores backwards compatibility, but also restores the ability to compare croniter time values. | ||||
| * | Fixed #40 | Steffen Schröder | 2015-05-30 | 2 | -2/+13 |
| | | | | | | Issue: converting sun in range sun-thu transforms to int 0 which is recognized as empty string Solution converting sun to string "0" | ||||
| * | Merge remote-tracking branch 'origin/master' | Mathieu Le Marec - Pasquet | 2015-05-29 | 1 | -2/+5 |
| |\ | |||||
