Releases: insha/salah
0.7.5: Fixing invalid minute value
Fixing the minute overflow value due to rounding up. This was causing chrono
crate to panic because the value of the 60 minutes is invalid. The valid minute values are 0 to 59 for minutes (closes #14).
The chrono
crate has also been updated to version 0.4.38
.
🎩-tip to @Quicksilver151 submitting the issue.
0.7.1: Enhancing the Qiblah struct
The Qiblah struct now implements the Debug and Display traits that can be used for printing out the value of the Qiblah. The struct also gained a new method, value()
for getting the f64
value of the direction. Also updating test to use the public interface and adding a new test to assert the display value of the Qiblah direction.
🎩-tip to @TheCodeHeist for bringing the issue to my attention.
Syncing up to Adhan v1.4.0
Changes include:
- Adding
Shafaq
enum - Adding
Rounding
enum; allows for customization on how the final prayer times are rounded using,Nearest
,Up
, orNone
variants - Adding Maghrib angle to the
Parameter
struct - Adding a proptery called
rounding
to theParameter
struct to use theRounding
enum - Adding a property called
shafaq
to theParameter
struct, using theShafaq
enum - Replaced
nearest_minute
method withrounded_minute
; This method takes a parameter of typeRounding
- Updating method signature of
season_adjusted_evening_twilight(latitude:day:year:sunset:shafaq:)
with the theShafaq
enum - Adding doc comments
- Using the
rounding
method for SingaporeMethod
- Adding
Turkey
to theMethod
enum - Adding
Tehran
to theMethod
enum; this method uses the newly addedmaghrib_angle
property of theParameter
struct. - Adding
recomended
method; based on the latitude of the provided location a variant of theHighLatitudeRule
is returned - Adding and updating tests
- Code formatting
- Updating copyright
- Documenting changes in the
readme.md
file
This release fixes the wrong prayer times that were reported
This release fixes the wrong prayer times that were reported (see issue #6). It also addressed all warnings that were raised when compiling the library.