Commit graph

4 commits

Author SHA1 Message Date
wiz
901ac171d1 Update to 1.5. Uses 2010g timezone database. 2010-05-02 13:30:46 +00:00
wiz
6cbd22f170 Update to 1.4.1:
- Updated timezone information.
2009-04-21 15:15:04 +00:00
wiz
b8412f67e5 Update to 1.4:
Version 1.4
-----------

- Fixed another parser precision problem on conversion of decimal seconds
  to microseconds, as reported by Erik Brown.  Now these issues are gone
  for real since it's not using floating point arithmetic anymore.

- Fixed case where tzrange.utcoffset and tzrange.dst() might fail due
  to a date being used where a datetime was expected (reported and fixed
  by Lennart Regebro).

- Prevent tzstr from introducing daylight timings in strings that didn't
  specify them (reported by Lennart Regebro).

- Calls like gettz("GMT+3") and gettz("UTC-2") will now return the
  expected values, instead of the TZ variable behavior.

- Fixed DST signal handling in zoneinfo files.  Reported by
  Nicholas F. Fabry and John-Mark Gurney.


Version 1.3
-----------

- Fixed precision problem on conversion of decimal seconds to
  microseconds, as reported by Skip Montanaro.

- Fixed bug in constructor of parser, and converted parser classes to
  new-style classes.  Original report and patch by Michael Elsd

- Initialize tzid and comps in tz.py, to prevent the code from ever
  raising a NameError (even with broken files).  Johan Dahlin suggested
  the fix after a pyflakes run.

- Version is now published in dateutil.__version__, as requested
  by Darren Dale.

- All code is compatible with new-style division.
2009-04-20 09:45:19 +00:00
wiz
4de44f4084 Initial import of py-dateutil-1.2, from pkgsrc-wip, initially packaged
by recht@ and updated by me.

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, and UTC
  timezone.
* Computing of Easter Sunday dates for any given year, using Western, Orthodox
  or Julian algorithms;
* More than 400 test cases.
2007-07-02 18:05:24 +00:00