diff --git a/CHANGES.rst b/CHANGES.rst index b64caf6..4693a65 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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 diff --git a/docs/index.rst b/docs/index.rst index 50de0cc..c68264a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -22,6 +22,16 @@ Delorean stands on the shoulders of giants `pytz ` 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 ^^^^^^^^^^^^^^^