Skip to content

Commit

Permalink
Merge pull request #19 from kosratdev/sanadaj-issue-29-feb
Browse files Browse the repository at this point in the history
Fix Sanandaj, IR  prayer time on 29 Feb
  • Loading branch information
kosratdev committed Mar 2, 2024
2 parents d1bfd58 + 6b37176 commit 45807ca
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

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

5 changes: 4 additions & 1 deletion Example/Tests/PrayerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ class PrayerTests: XCTestCase {

func testAllFixedPrayerTimes() {
let locations = LocationHelper.shared.fixedPrayerTimesList()
let date = Date(timeIntervalSince1970: 1709206718) // 2024/02/29
locations!.forEach({ location in
PrayerTime.getPrayerTimes(location: location, date: self.date, attributes: self.attributes) { prayer, error in
print(location)
print(date)
PrayerTime.getPrayerTimes(location: location, date: date, attributes: self.attributes) { prayer, error in
XCTAssertNil(error)
XCTAssertNotNil(prayer)
}
Expand Down
2 changes: 1 addition & 1 deletion MuslimData.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'MuslimData'
s.version = '1.5.1'
s.version = '1.5.2'
s.summary = 'Islamic library (Prayer Times [fixed and calculated], Names of Allah, and Azkars).'

# This description is used to generate tags and improve search results.
Expand Down
7 changes: 7 additions & 0 deletions MuslimData/Assets/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to the MuslimData database will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.4.2] - 2024-03-01

Bug fixes.

### Fixed
- Fix Sanandaj, IR prayer time at 29 Feb which was added as 02-01.

## [1.4.1] - 2024-02-28

Bug fixes.
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion MuslimData/Classes/DB Helper/DBHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class DBHelper {
private init() {
var configuration = Configuration()
configuration.readonly = true
let databaseURL = Bundle(for: DBHelper.self).path(forResource: "muslim_db_v1.4.1", ofType: "db")!
let databaseURL = Bundle(for: DBHelper.self).path(forResource: "muslim_db_v1.4.2", ofType: "db")!
dbPool = try? DatabasePool(path: databaseURL, configuration: configuration)

// Be a nice iOS citizen, and don’t consume too much memory
Expand Down

0 comments on commit 45807ca

Please sign in to comment.