https://moin.conectiva.com.br/DateUtil
Description ----------- 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, etc); - Computing of relative deltas between two given date and/or datetime objects; - Computing of dates based on very flexible recurrence rules, using a superset of the iCalendar 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, UTC timezone, and Windows registry-based time zones. - Internal up-to-date world timezone information based on Olson's database. - Computing of Easter Sunday dates for any given year, using Western, Orthodox or Julian algorithms; - More than 400 test cases. Version 0.9 ----------- - Implemented internal timezone information with binary timezone files [1]. datautil.tz.gettz() function will now try to use the system timezone files, and fallback to the internal versions. It's also possible to ask for the internal versions directly by using dateutil.zoneinfo.gettz(). - New tzwin timezone type, allowing access to Windows internal timezones (contributed by Jeffrey Harris). - Fixed parsing of unicode date strings. - Fixed pickling of timezone types, as reported by Andreas Köhler. - Accept parserinfo instances as the parser constructor parameter, besides parserinfo (sub)classes. - Changed weekday to spell the not-set n value as None instead of 0. - Fixed other reported bugs. [1] http://www.twinsun.com/tz/tz-link.htm -- Gustavo Niemeyer http://niemeyer.net -- http://mail.python.org/mailman/listinfo/python-list