Skip to content

Commit

Permalink
Call out breaking changes in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mlew committed Dec 9, 2015
1 parent 25316fe commit 130846f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ This release cleans up a lot of older code and makes some small modifications to
Pythonic. 0.6.0 includes support for humanizing a `Delorean` object, as well as outputing a localized string
representing the `Delorean` object.

This change introduces the following breaking changes:
- `Delorean.epoch` is a property, not a function.
- `Delorean.midnight` is a property, not a function.
- `Delorean.naive` is a property, not a function.
- `Delorean.timezone` is a property, not a function.

- delorean/dates.py
- `is_datetime_naive()` no longer returns True when dt is None
- `localize()` works with pytz tzinfo objects
Expand Down
10 changes: 10 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ Delorean stands on the shoulders of giants `pytz <http://pytz.sourceforge.net/>`

Pretty much make you a badass, time traveller.

Interface Update
^^^^^^^^^^^^^^^^
Version 0.6.0 introduces the following breaking changes:
- `Delorean.epoch` is a property, not a function.
- `Delorean.midnight` is a property, not a function.
- `Delorean.naive` is a property, not a function.
- `Delorean.timezone` is a property, not a function.

Please make sure to update your code accordingly.

Getting Started
^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 130846f

Please sign in to comment.