The dateutil module provides powerful extensions to the standard datetime
module.
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.
This package contains the Python-3.x version of the module.
Changes compared to py-dateutil-1.5:
Version 2.0
-----------
- Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X,
please continue using the 1.X series.
- There's no such thing as a "PSF License". This source code is now
made available under the Simplified BSD license. See LICENSE for
details.
Upstream changes:
1.06 2013-12-31
- DateTime's attempt to generate infinity by calculating 9**9**9 actually got
a number on some platforms, like powerpcspe. Reported by Gregor Hermann. RT
#91696.
1.05 2013-12-22
- Added a new CLDR ZZZZZ specifier, which is like ZZZ but inserts a
colon. Patch by Ricardo Signes.
- Added a new option for the truncate() method to truncate to the
"local_week". This truncates to the locale's notion of the first day of the
week, rather than always truncating to Monday. Patch by Christian Hansen.
1.04 2013-12-07
- Calling set_locale() or set_formatter() on an object with an ambiguous local
time could change the underlying UTC time for that object. Reported by Marta
Cuaresma Saturio. RT #90583.
Upstream changes:
1.63 2013-10-28
- This release is based on version 2013h of the Olson database. This release
includes contemporary changes for Morocco, Librya, and Western Sahara (El
Aaiun).
1.62 2013-09-25
- This release is based on version 2013f of the Olson database. This release
includes contemporary changes for Tocantins, Jordan, and Palestine.
1.61 2013-09-20
- This release is based on version 2013e of the Olson database. This release
includes contemporary changes for Fiji, Indonesia and San Luis,
Argentina. It also includes a number of historical changes. See
http://mm.icann.org/pipermail/tz-announce/2013-September/000013.html for
more details.
Dateutils are a bunch of tools that revolve around fiddling with
dates and times in the command line with a strong focus on use
cases that arise when dealing with large amounts of financial data.
Dateutils commands are prefixed with a `d` but otherwise resemble
known unix commands for reasons of intuition. The only exception
being `strptime` which is analogous to the libc function of the
same name.
Upstream changes:
1.9726 [2013-08-17]
- Correct s/us splitting of usleep(1000000) [rt.cpan.org #78266].
- Avoid integer overflow in itimer-based alarm() with large
argument [rt.cpan.org #87160].
- Define PERL_NO_INLINE_FUNCTIONS during probe compilations, to
avoid false negatives caused by not linking with the perl core.
- Be more careful about context in stat().
- Install into "site" directories by default on perl 5.11+
[rt.cpan.org #79797].
- Fix a couple of doc typos [rt.cpan.org #85365].
- Fix function name in a doc example [rt.cpan.org #86318].
- Provide lstat() that yields high-res timestamps, alongside
the existing high-res stat() [rt.cpan.org #78732].
Add LICENSE
Upstream changes:
1.2300 2012-07-20
- Doh, fix the repo & bugtracker info in the META files.
1.2200 2012-07-09
- Explicitly require Test::More 0.88+ for tests.
1.2100 2012-07-09
- A seconds value greater than 59 but less than 60 caused timegm() and
timelocal() to croak. Now we allow any value that's less than 60. RT #78189.
1.2000 2011-01-02
- Release 1.1902 as a stable version without any further chances.
1.1902 2010-12-16 TRIAL RELEASE
- Merge all changes from blead perl.
- Try to restore compatibility with older perls, which don't have a 64bit
capable localtime/gmtime.
Upstream changes:
1.23 2013-09-06
- add a LICENSE file (thanks, John Peacock!)
- make sure Time::Seconds loads Exporter, which it relies on (thanks,
GFUJI and TOKUHIROM!)
- fix day of year parsing (like "%y%j") (thanks, Doug Wilson)
Upstream changes:
0.31 Tue Sep 22 02:05:24 2009
=> Perl::Critic refactoring.
0.30 Wed Jun 24 00:42:57 2009
=> Added "week" suport to the output. Disabled by default.
=> Extended the second parameter to elapsed() to a hashref.
This release includes code & man page cleanups.
Alan Coopersmith (4):
Store sine & cosine tables as doubles instead of floats
Add noreturn attributes suggested by -Wmissing-noreturn
Combine usage message strings & print them to stderr, not stdout
xclock 1.0.7
Eric S. Raymond (1):
Don't rely on being able to set tab stops.
Upstream changes:
0.21
* Examine properties in consistent order, so tests pass on 5.18 and
above
0.20
* Properly restrict the valid properties when iCal version 1.0
(Ashley Willis)
Upstream changes:
0.538 (03.20.2013) - John Siracusa <siracusa@gmail.com>
* Ensure that "today" is parsed as a DateTime with the time set to
00:00:00. (RT 84068)
Update DEPENDS
Upstream changes:
0.16 -- updating to require a new version of Olson::Abbreviations
0.15 -- trying something for a problem I don't see.
0.14 -- Fixed rt #73332 about build systems and MooseX::Types version number
0.13 -- Fixed rt #72473 and added version requirement for Moose
0.12 -- Updated to use namespace::autoclean, fixed git repo link to be public repo
Upstream changes:
1.60 2013-07-07
- This release is based on version 2013d of the Olson database. This release
includes contemporary changes for Morocco and Israel. It also includes
historical changes for Jerusalem.
Upstream changes:
0.32 2013-08-27
- ignore duration signal in DateTime::Span->from_datetime_and_duration()
and use the 'end'/'start' parameters as a cue for the time direction,
suggested by David Pottage
- more tests of intersections with open/closed ended spans
Upstream changes:
0.16009 2013-08-25T04:51:15Z
- Fix typos [pr #2] (dsteinbrunner)
- Migrate to using Minilla for packaging
0.16008 Fri Nov 25 09:20:00 2011
- Work with [+-]hh:mm:ss time offsets. Reported by Rod Tailor (rt #72706)
0.16007 Wed Dec 26 15:30:00 2012
- Fix ISO parsing (rt 51074, https://github.com/lestrrat/DateTime-Format-Pg/pull/1)
- Why I have not noticed this PR, I have no clue
0.16006 Fri May 27 09:00:00 2011
- Repository moved to github
- Postgres 8.4 apprently now allows infinity dates.
Applied patch by cmckay (rt #68473)
Update DEPENDS
Upstream changes:
0.06 Tue Oct 11 21:18:12 2011
- added a test that specifies subsecond granularity
- now requires Convert::NLS_DATE_FORMAT 0.03
(Thank you Jon Bjornstad and Zefram)
Upstream changes:
0.05 Tue Jan 17 22:23:40 2012
- changed ~~ to =~ for compatibility with older versions of Perl
0.04 Mon Jan 16 15:09:56 2012
- remove quotes from quoted strings within oracle formats
(Thank you Yanick Champoux)
0.03 Tue Oct 11 20:48:56 2011
- added ability to specify subsecond granularity
(Thank you Jon Bjornstad and Zefram)