Commit graph

23 commits

Author SHA1 Message Date
Josiah Carlson
5259cd63a8 Adds MANIFEST.in, per request 2018-04-12 21:20:59 -07:00
Josiah Carlson
65c85e8d7b Adds support for seconds in crontab 2017-10-16 15:30:24 -07:00
Josiah Carlson
0d4251e6d0 Fixes issues #18 2016-03-30 14:37:55 -07:00
Josiah Carlson
112109d017 Should now be usable with all timezone libs
* Fixed unittest runner to return nonzero status on failure
2016-03-21 21:19:49 -07:00
Josiah Carlson
e9426e934e Crontab doesn't *need* pytz, except for testing 2016-03-19 22:44:54 -07:00
Josiah Carlson
fd7a7192f9 Fixes/adds timezone support to "just work"
Explicitly starts testing against Python 2.6, 2.7, 3.3, 3.4, and 3.5
2016-03-19 22:19:58 -07:00
Josiah Carlson
b7c2b5b975 Fixes items like "last friday of the month"
* Bug report thanks to Tom Bech via email
2016-02-11 22:40:32 -08:00
Josiah Carlson
df297e2f21 Fixes endpoint checking during CronTab creation
* Fixes bug #16
2016-01-29 22:28:58 -08:00
Josiah Carlson
5bc277a425 Bump version for PyPI release 2015-11-06 05:24:36 +00:00
Josiah Carlson
9152d84110 Bump version and fix pypi distribution 2014-12-04 14:50:03 -08:00
Josiah Carlson
beedabe502 Bump version for push to pypi 2014-12-04 10:01:39 -08:00
John Vandenberg
9167f1ed77 Do not install a package called tests
The unit tests should not be installed as a package.
Use setuptools instead of distutils.core for setup routine.
2014-07-29 15:51:11 +07:00
Josiah Carlson
a4a603579a Added LGPL v3 licensing option 2014-06-17 22:58:05 -07:00
Josiah Carlson
86b15138fd Fixes bug with crontab's previous() calculation
* When looking for a previous entry, sometimes the initial pass for the
  previous() method would effectively double-decrement the current time, which
  can cause previous() to skip over the correct previous time if it was within
  1 minute of now (or the time passed as now)
* Bug report thanks to David Siera
2014-06-06 09:42:10 -07:00
Josiah Carlson
06ed7eef04 Fix setup.py installations 2013-10-08 18:38:06 -07:00
Josiah Carlson
1209496ff7 Fixes "next" time is actually the next in some cases
* Also swapped to '0.xx' versioning as per github user mgedmin.
2013-06-19 23:40:57 -07:00
Josiah Carlson
662bd8a947 Fixes a bug and add support for returning the time
* When calculating the next() or previous() valid entry, the module wouldn't "backtrack" enough, and might miss a sooner crontab entry than was found. This has been fixed.
* Added the ability to return the timestamp of the future event, instead of just the delta (pass delta=False to .next() or .previous())
* Added a method to test a given timestamp or datetime against a Crontab entry
* Special thanks to Manish Dubey github.com/mdubey for the pull request that spawned these features, provided new tests, and prompted the discovery of the bug
2013-02-17 17:11:04 -08:00
Josiah Carlson
4181061e84 Bump version, update classifiers
* Thanks to Graham Bell for updates to PyPE to support Python 3.2
* Also thanks to Graham for 7 being an alias for Sunday
2012-08-12 23:43:17 -07:00
Josiah Carlson
7ddf9cd2e1 Fix for specifiers like 1,L 2012-04-18 13:30:19 -07:00
Josiah Carlson
3cb7a6ad57 Fix for last day of the month bug.
* In some situations, asking for the last day of the month would return the first.
* Patch provided by Franco Lucchini.
2012-03-25 20:55:18 -07:00
Josiah Carlson
74914494a0 You can now find a previously scheduled time. 2012-01-29 11:38:22 -08:00
Josiah Carlson
1ec538ff67 Updated license to LGPL 2.1, fixed a small bug. 2011-10-27 00:45:25 -07:00
Josiah Carlson
3e2ef51072 Add code, tests, makefile, etc. 2011-07-17 17:34:56 -07:00