[ANN] python-dateutil 0.5
Gustavo Niemeyer
niemeyer at conectiva.com
Fri Jul 16 14:41:37 EDT 2004
What is it?
-----------
The dateutil module provides powerful extensions to the standard
datetime module, available in Python 2.3+.
Features
--------
* Computing of relative deltas (next month, next year,
next monday, last week of month, and a lot more);
* Computing of relative deltas between two given
date and/or datetime objects;
* Computing of dates based on very flexible recurrence rules
(every month, every week on Thursday and Friday, every
Friday 13th, and a *LOT* more), using a superset of the
iCalendar RFC specification. Parsing of RFC strings is
supported as well.
* Generic parsing of dates in almost any string format;
* Timezone (tzinfo) implementations for tzfile(5) format
files (/etc/localtime, /usr/share/zoneinfo, etc), TZ
environment string (in all known formats), iCalendar
format files, given ranges (with help from relative deltas),
local machine timezone, fixed offset timezone, and UTC
timezone.
* Computing of Easter Sunday dates for any given year,
using Western, Orthodox or Julian algorithms;
* 446 test cases.
Changes since 0.4
-----------------
- Removed FREQ_ prefix from frequency constants (FREQ_YEARLY, etc)
- Fixed a problem in rrule.between() (reported by Andreas Köhler)
- Fixed two-digit zero-year parsing (reported by Jim Abramson)
- Sort exdate and rdate before iterating over them in rruleset,
so that it's not necessary to add them in sorted order
(reported by Nicholas Piper).
- New test cases.
Where to get it?
----------------
https://moin.conectiva.com.br/DateUtil
--
Gustavo Niemeyer
http://niemeyer.net
More information about the Python-list
mailing list