Skip to content

Commit

Permalink
Added changes in version 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sffjunkie committed May 20, 2020
1 parent f2497d7 commit 2a5e908
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2a5e908

Please sign in to comment.