Skip to content

Commit

Permalink
Merge pull request #67 from batoulapps/develop
Browse files Browse the repository at this point in the history
Merge rounding parameter feature into master
  • Loading branch information
z3bi authored Jun 17, 2021
2 parents 25ac9e4 + d4d5b1b commit 8f96c16
Show file tree
Hide file tree
Showing 13 changed files with 6,580 additions and 6,416 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
push:
branches: [master]
pull_request:
branches: [master]
branches: [master, develop]

jobs:
# building job
Expand Down
7 changes: 7 additions & 0 deletions Adhan.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class CalculationParameters {
highLatitudeRule: HighLatitudeRule;
adjustments: PrayerAdjustments;
polarCircleResolution: PolarCircleResolution;
rounding: Rounding;
}

export interface PrayerAdjustments {
Expand Down Expand Up @@ -72,6 +73,12 @@ export enum Madhab {
Hanafi
}

export enum Rounding {
Nearest,
Up,
None
}

export enum Prayer {
Fajr,
Sunrise,
Expand Down
34 changes: 26 additions & 8 deletions Adhan.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Adhan.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 8f96c16

Please sign in to comment.