pyohei
f1a2ad66df
Fix setup.py to be able to read README.rst on PyPI.
2018-06-11 07:28:57 +09:00
pyohei
9f7a78297b
Add tag of Python3.6
2018-06-11 07:12:11 +09:00
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
5970572cfc
Merge pull request #15 from jikamens/master
...
BUG: Allow "-sun" to be specified as the RHS of a weekday range
2015-11-05 21:23:29 -08:00
Jonathan Kamens
858fda7ec9
BUG: Allow "-sun" to be specified as the RHS of a weekday range
...
It should be possible to specify Sunday, i.e., "sun", on the
right-hand side of a weekday range. In other words, "sat-sun" should
work.
2015-11-05 21:29:25 -05: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
Josiah Carlson
94782a2855
Merge pull request #7 from jayvdb/master
...
Do not install a package called tests
2014-08-02 21:58:42 -07: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
696e7ab872
Merge pull request #1 from grahambell/master
...
Minor patches to parse-crontab
2012-08-12 23:42:25 -07:00
Graham Bell
1116146ee0
Allow Sunday to be specified as weekday 7.
2012-08-10 17:25:49 -10:00
Graham Bell
0b534c4423
Minor patch for Python 3 compatibility.
2012-07-30 10:44:10 -10: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
Josiah Carlson
cca54a6f5f
First commit.
2011-07-17 16:05:30 -07:00