Python-dateutils

Latest version: v3.0.3

Safety actively analyzes 683530 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

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.

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örfer.

- 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.

1.2

===========

- Now tzfile will round timezones to full-minutes if necessary,
since Python's datetime doesn't support sub-minute offsets.
Thanks to Ilpo Nyyssönen for reporting the issue.

- Removed bare string exceptions, as reported and fixed by
Wilfredo Sánchez Vega.

- Fix bug in leap count parsing (reported and fixed by Eugene Oden).

1.1

===========

- Fixed rrule byyearday handling. Abramo Bagnara pointed out that
RFC2445 allows negative numbers.

- Fixed --prefix handling in setup.py (by Sidnei da Silva).

- Now tz.gettz() returns a tzlocal instance when not given any
arguments and no other timezone information is found.

- Updating timezone information to version 2005q.

1.0

===========

- Fixed parsing of XXhXXm formatted time after day/month/year
has been parsed.

- Added patch by Jeffrey Harris optimizing rrule.__contains__.

0.9

===========

- Fixed pickling of timezone types, as reported by
Andreas Köhler.

- Implemented internal timezone information with binary
timezone files. 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.

- 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.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.