From 2a5e9080eb15bce992d6d6812b0e8933f6ffc8db Mon Sep 17 00:00:00 2001 From: Simon Kennedy Date: Wed, 20 May 2020 14:30:10 +0100 Subject: [PATCH] Added changes in version 2.2 --- ChangeLog.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index b717798..96ba809 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,19 +1,23 @@ # CHANGELOG +## 2.2 - 2020-05-20 + +### Changed + +- Fix for [bug #48](https://github.com/sffjunkie/astral/issues/48). As per the bug report the angle to adjust for the effect of elevation should have been θ (not α). +- The sun functions can now also be passed the timezone as a string. Previously only a pytz timezone was accepted. + ## 2.1 - 2020-02-12 ### Bug Fix -- Fix for bug #44 - Incorrectly raised exception when UTC sun times were on the day - previous to the day asked for. This only manifested itself for timezones with - a large positive offset. +- Fix for bug #44 - Incorrectly raised exception when UTC sun times were on the day previous to the day asked for. This only manifested itself for timezones with a large positive offset. ## 2.0 - 2020-02-11 ### Refactor -- This is a code refactor as well as an update so it is highly likely that you will - need to adapt your code to suit. +- This is a code refactor as well as an update so it is highly likely that you will need to adapt your code to suit. - Astral, AstralGeocoder & GoogleGeocoder classes removed - Requires python 3.6+ due to the use of dataclasses - New LocationInfo class to store a location name, region, timezone, latitude & longitude