diff --git a/CHANGELOG.MD b/CHANGELOG.MD index aecf02578..2a4963fff 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.1] - 2020-07-06 + +### Fixed + +- [Iqamah times are wrong](https://github.com/ragaeeb/das-js/issues/147) +- Added some older blog posts. + ## [0.5.0] - 2020-07-01 ### Added diff --git a/__tests__/utils/calculator.test.js b/__tests__/utils/calculator.test.js index b5eb81517..ecc2f296f 100644 --- a/__tests__/utils/calculator.test.js +++ b/__tests__/utils/calculator.test.js @@ -111,6 +111,35 @@ describe('calculator', () => { }); }); + it('should calculate the proper iqamah times for July 6, 2020', () => { + const result = daily( + salatLabels, + '45.3506', + '-75.793', + 'America/Toronto', + new Date(2020, 6, 6, 16, 17, 0), + { + fajr: { + 7: { + 1: '4:15 AM', + 11: '4:25 AM', + 21: '4:40 AM', + }, + }, + isha: { + 7: { + 1: '10:30 PM', + 11: '10:20 PM', + 21: '10:10 PM', + }, + }, + } + ); + + expect(result.timings[0].iqamah).toEqual('4:15 AM'); + expect(result.timings[5].iqamah).toEqual('10:30 PM'); + }); + describe('isFard', () => { it('should be true for fard prayers', () => { ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'].forEach((key) => diff --git a/content/blog/1st-day-of-ramadaan-1431ah-wednesday-august-11th-2010/index.md b/content/blog/1st-day-of-ramadaan-1431ah-wednesday-august-11th-2010/index.md new file mode 100644 index 000000000..a7549b38b --- /dev/null +++ b/content/blog/1st-day-of-ramadaan-1431ah-wednesday-august-11th-2010/index.md @@ -0,0 +1,34 @@ +--- +title: '1st day of Ramadaan, 1431AH' +date: '2010-08-10T19:34:45.169Z' +description: 'Wednesday, August 11th, 2010' +imageUrl: https://i.ebayimg.com/00/s/NTM1WDg1Ng==/z/7iwAAOSwyi5crO15/$_57.JPG +thumbnailUrl: https://amp.thenational.ae/image/policy:1.853141:1556971870/42-19770248.jpg +--- + +[2010 Ramadan Calendar](https://drive.google.com/file/d/1Ohlpvhy3to7B1Toc_LkdyeuFCf8jBzoz) + +As-salaamu ‘alaikum wa rahmatullahi wa barakaatuh, + +This is to inform you that the 1st day of Ramadaan will be on Wednesday, August 11th. That means that we will be praying salaatut-taraweeh the night of Tuesday, August 10th. + +The iqaamah for salaatul-‘ishaa will be 5 minutes after the adhaan immediately followed by salaatut-taraweeh at Musalla As-Sahaba (2835 Dumaurier Ave., Ramsey). The iqaamah time will remain so unless further advised. Due to limited space, ‘ishaa and taraweeh prayers will be for brothers only. + +Please see attached for the Ramadaan Calendar. + +Barakallahu feekum. + +— +Dar As-Sahaba Admin + +--- + +HJC – 1st day of Ramadhaan 1431 – Wednesday 11 August 2010… + +Official Decision and Announcement of the High Judiciary Council of Saudi Arabia… + +Just a short time ago, Fatwa-Online was informed of the official decision and announcement of the High Judiciary Council of Saudi Arabia that since the moon of Ramadhaan was sighted this evening, here in Saudi Arabia, we have completed twenty nine (29) days of Sha’baan (1431 A.H.), in accordance with the hadeeth of the Messenger of Allaah (sal-Allaahu `alayhe wa sallam): + +((Fast when you see the crescent. If it is obscured to you, then complete thirty days of Sha’baan. And break your fast when you see the crescent. If it is obscured to you then fast thirty days)), [transmitted by al-Bukhaaree and Muslim]. + +Subsequently, we shall be starting our taraaweeh prayers tonight (Tuesday 10 August 2010) after the ‘Ishaa. prayer, in preparation for the first fast of Ramadhaan on Wednesday 11 August 2010, inshaa.-Allaah. diff --git a/content/blog/40-ahadeeth-class-postponed-until-end-of-april-beginning-of-may-2010/index.md b/content/blog/40-ahadeeth-class-postponed-until-end-of-april-beginning-of-may-2010/index.md new file mode 100644 index 000000000..1dac2057c --- /dev/null +++ b/content/blog/40-ahadeeth-class-postponed-until-end-of-april-beginning-of-may-2010/index.md @@ -0,0 +1,16 @@ +--- +title: '40 Ahadeeth Class Postponed' +date: '2010-03-24T22:11:54.169Z' +description: 'until end of April / beginning of May, 2010' +imageUrl: https://www.islamic-invitation.com/images/book_covers/40-hadith_it.jpg +thumbnailUrl: https://i1.sndcdn.com/artworks-000165028669-rd7zhl-t500x500.jpg +--- + +As-salaamu ‘alaikum wa rahmatullahi wa barakaatuh, + +This is to inform you that the 40 Ahadeeth class (held every Sunday) is POSTPONED UNTIL THE END OF APRIL OR BEGINNING OF MAY, in-sha-Allah. Shaykh Abu ‘Abdur-Rahman (may Allah preserve him) will not be available during this time. In-sha-Allah, we will inform you when the class will resume so please keep checking your email. + +Please pass on this message. Jazakumullahu khair. + +— +Dar As-Sahaba Admin diff --git a/content/blog/ash-shaykh-abu-abdullah-mahir-ibn-dhafir-al-qahtani:/index.md b/content/blog/ash-shaykh-abu-abdullah-mahir-ibn-dhafir-al-qahtani/index.md similarity index 100% rename from content/blog/ash-shaykh-abu-abdullah-mahir-ibn-dhafir-al-qahtani:/index.md rename to content/blog/ash-shaykh-abu-abdullah-mahir-ibn-dhafir-al-qahtani/index.md diff --git a/content/blog/explanation-of-the-prophets-prayer-described-intensive-course/index.md b/content/blog/explanation-of-the-prophets-prayer-described-intensive-course/index.md new file mode 100644 index 000000000..46aaa9839 --- /dev/null +++ b/content/blog/explanation-of-the-prophets-prayer-described-intensive-course/index.md @@ -0,0 +1,23 @@ +--- +title: "Explanation of the Prophet's Prayer Described" +date: '2010-03-24T07:41:54.169Z' +description: 'Intensive Course' +imageUrl: https://images-na.ssl-images-amazon.com/images/I/51Y-tku3mgL.jpg +thumbnailUrl: https://cdn11.bigcommerce.com/s-jwsaz/images/stencil/1280x1280/products/2814/9321/The_Abridged_Prophets_Prayer_Described_1__01321.1529824761.jpg +--- + +As-salam alaikum wa rahmatulahi wa barkatuhu + +al-Hamdu-Lillaahi Rabbil-‘Aalameen was-Salaatu was-Salaamu ‘alaa Ashrafil-Anbiyaa.e wal-Mursaleen, wa ba’d: + +May Allah have mercy on you. Dar-ul-hadith present you the Explaination of the famous book of Shaikh Muhammad Naasir-ud-Deen Al Baani entitle “the PROPHET’S PRAYER DESCRIBED sallallahu ‘alaihi wasallam from the beginning to the end as though you see it”. The class will be taught by Shaikh Abu Abdrahman Mohammed Ali. +The course is schedule to start insha’Allah on Saturday June 26th, from 4pm-7pm. The course will run for approximately 8 weeks on every Saturday. + +Registration: Now open for this course, complete the editable registration form document attached, completing all fields and email it back to darulhadiths@gmail.com. Also, print the registration form document, complete in clear print and bring it along with your payment on the first day of the course. +Fees: 120\$ + +BarukaAllah feekum + +— +Darul Hadith Admin, +“Whoever treads a path in search of knowledge, Allaah will make easy for him the path to Paradise.” – Saheeh Muslim – The Book of Invitations diff --git a/content/blog/new-course-the-explanation-of-the-prophets-prayer-described/index.md b/content/blog/new-course-the-explanation-of-the-prophets-prayer-described/index.md new file mode 100644 index 000000000..e03ee4567 --- /dev/null +++ b/content/blog/new-course-the-explanation-of-the-prophets-prayer-described/index.md @@ -0,0 +1,53 @@ +--- +title: "New Course: The Explanation of the Prophet's Prayer Described" +date: '2010-03-24T07:41:54.169Z' +description: 'Intensive Course' +imageUrl: https://cdn11.bigcommerce.com/s-jwsaz/images/stencil/1280x1280/products/2441/8173/The_Prophets_Prayer_Described_1__08809.1519876429.jpg +thumbnailUrl: https://i.pinimg.com/236x/a7/76/59/a776592b67e9f5a7b13c60c7259f1213.jpg +--- + +Bismillaah Ar-Rahmaan Ar-Raheem, + +Al-Hamdulillaah Rabbil'aalameen wassalaat wassalaam 'alaa rasoolillaah wa 'alaa aalihi wa sahbih, wa ba'd: + +As-Salaam 'alaykum wa rahmatullaah wa barakaatuh, + +Al-hamdulillaahi rabbil'aalameen that He has given us the tawfeeq to conclude our third intensive course with our Shaikh may Allah preserve him and increase him with beneficial knowledge. + +We would like to first start by apologizing for our disorganization throughout this course. Due to the lack of physical manpower and some miscommunication, we encountered a few technical problems in the audio/visual preparation/setup of the course. + +We would like to address a few issues in this email, hopefully benefitting by way of advice. As the Prophet (sallallahu 'alaihi wa sallam) said, "The religion is sincerity and sincere advice." + +Firstly, it has come to our attention that a few of the students have approached the shaykh and asked him to give a new class/course, barakaAllahu feekum. Although this would be of great benefit, this idea cannot be supported or entertained for several reasons as will be put forth. Firstly, there is the issue of the course registration fee, which many of the students (and they themselves know who they are and Allah is The All-Knower and a Watcher over all of us) have not paid as of yet, not only for this course but the past 2 courses (The Book of Purification and The Book of Prayer - Part I). Allahul-musta'an. This is a truly unfortunate situation when a promise of payment is made, however it is overlooked or not taken seriously especially when pertaining to an Islamic subject (i.e. this course). Due to this lack of fulfilling a promise (which is seriously looked down upon in Islam), the administration feels shy to ask the shaykh to give any more classes. Although the students agreed to a contract by signing the registration form which stated the fee for the course, Darul-Hadith has been very lenient in the method of payment as many of the students are/were on payment plans (delayed installments). Although, we may be able to overlook one or two students due to their situation, how can a person expect the shaykh to give us subsequent intensive courses when nearly more than 1/3 of the class did not/does not pay ? It is truly sad when it is some of the same students that are repeatedly doing this throughout the 3 courses that we had to offer. We realize that every one has a different situation, but is it fair to the students who actually struggled to raise the money and pay for the courses versus the students who are quite lax in remitting their payments? Both types of students have signed and agreed to the fee, and a delayed payment was allowed in various cases. But a delay for nearly 2 years? And they still have the audacity to take another course without paying for the previous one? Subhanallah. The shaykh has kept his part of the contract in giving the course. Have some of the students kept their part of the bargain by promising to pay the fee and observing the rules? + +There is the hadith about the dayn (debt) where the Prophet ( sallallahu 'alaihi wa sallam) refused to pray janazah on the one who had a debt or when he (sallallahu 'alaihi wa sallam ) mentioned that the shaheed is suspended between the heavens and earth due to debt. + +Narrated By Salama bin Al-Akwa: Once, while we were sitting in the company of Prophet, a dead man was brought. The Prophet was requested to lead the funeral prayer for the deceased. He said, "Is he in debt?" The people replied in the negative. He said, "Has he left any wealth?" They said, "No." So, he led his funeral prayer. Another dead man was brought and the people said, "O Allah's Apostle! Lead his funeral prayer." The Prophet said, "Is he in debt?" They said, "Yes." He said, "Has he left any wealth?" They said, ''Three Dinars." So, he led the prayer. Then a third dead man was brought and the people said (to the Prophet), Please lead his funeral prayer." He said, "Has he left any wealth?" They said, "No." He asked, "Is he in debt?" They said, ("Yes! He has to pay) three Dinars.', He (refused to pray and) said, "Then pray for your (dead) companion." Abu Qatada said, "O Allah's Apostle! Lead his funeral prayer, and I will pay his debt." So, he led the prayer. Vol 3, Book 37. Transferance Of A Debt...Hadith 488A. (Sahih Bukhari) + +> > + +Narrated By Abu Huraira: Allah's Apostle said, "Procrastination (delay) in repaying debts by a wealthy person is injustice." Vol 3, Book 41. Loans, Payment Of Loans, Freezing ....Hadith 585. (Sahih Bukhari) + +So, are we now applying these ahadeeth in our daily lives even as we take an Islamic course? What part of Islam is this from? + +Secondly, we notice that the students who are asking the shaykh for another class are the same students who do not come forward to lift a single finger to help out with the setup/preparation throughout the course, when they know the situation of the lack of manpower as mentioned previously. Lifting/moving the finger does not only apply in the tashahhud of the prayer, but also outside of it in different situations (i.e. helping). Some of the students were informed of this before (in the past classes/courses), but it did not seem to have any effect on them. So the onus is left to only a few individuals to take on these tasks while they themselves have many other responsibilities. + +Allah tells us in the Qur'an to help one another in al-birr wat-taqwa (piety and awareness) not al-ithm wal-'udwaan (sin and transgression). How is this helping in al-birr and at-taqwa? + +The prophet (sallallahu 'alaihi wa sallam ) said in a hadeeth collected by Muslim narrated by Abu Hurairah that, "whoever relieves a believer of an anxiety from the anxieties of this life, Allah will relieve him of an anxiety from the anxieties of the of the day of resurrection and whoever make things easy for the mu'sir (the one in financial straights not able to repay his debts), Allah will make things easy for him in this life and the next, and Allah supports the slave when the slave supports his brother." + +So based on the above hadeeth, leniency has been given to repay the debt for some of the students, however, the anxieties are only removed by the help of Allah. Does the administration continuously need to ask? Or should they start begging? Allahul-musta'an. + +Thirdly, there is a manner in which suggestions, constructive criticism and recommendations are to be applied. The students who go directly to the shaykh and ask him about future courses should realize that there is an administrative committee for Darul-Hadith. It is only from good manners and professionalism that the shaykh is not swarmed about a new course when the admin should be consulted in these affairs first. The admin will then discuss the issue with the shaykh. In no way we are saying that the admin is perfect, in fact we admit our shortcomings, but help us to help you. Due to the lack of physical help we are sometimes unable to do things in an organized and efficient manner. Make it easy for us to make it easy for you. Everyone will benefit bi-idhnillah. + +From the above points, we seem to be lacking in a few ways of dealing with one another as muslims, which is truly unfortunate, especially when claiming to follow the Sunnah of our Prophet (sallallahu 'alaihi wa sallam). It is as Shaykh al-Albaanee said about at-tasfiyah wat-tarbiyyah: "Knowledge is the vehicle for action and when a person learns and his knowledge is absolutely clear and the he does not act upon it, then it is extremely obvious that this knowledge will not bear any fruits. Thus, it is necessary that the action be linked with this knowledge." Taken from 'Tasfiya & Tarbiya' - Purification & Cultivation and the need which the muslims have for them, by Shaykh Naasir-ud-deen Al-Albaanee (rahimahullah), pg. 45, published by Ar-Risala. + +So now how is it that other organizations (whether related to deen or dunyah) are not plagued by these problems, but this organization is while it is apparently upon the truth? + +May Allah help us recitify our shortcomings, learn the deen properly, implement it accordingly and not just memorize and sit on it. + +BarukaAllah feekum wa jazakumullahu khair + +[Registration form: darul-hadith_prayer-reg_v97-2003](https://drive.google.com/file/d/1EwQaE4D-bylCbDwT-fEKd86n8nyGCWkQ) + +Please direct any questions/comments regarding this course to darulhadiths@gmail.com only. diff --git a/content/blog/publication-endowing-mankind-with-issues-that-ibn-ul-qayyim-heard-from-shaykh-ul-islaam/index.md b/content/blog/publication-endowing-mankind-with-issues-that-ibn-ul-qayyim-heard-from-shaykh-ul-islaam/index.md new file mode 100644 index 000000000..e0316a5cc --- /dev/null +++ b/content/blog/publication-endowing-mankind-with-issues-that-ibn-ul-qayyim-heard-from-shaykh-ul-islaam/index.md @@ -0,0 +1,36 @@ +--- +title: 'Publication: Endowing mankind with issues that Ibn-ul Qayyim heard from Shaykh ul-Islām' +date: '2011-04-03T00:26:12.169Z' +description: 'by Al-Shaykh ʿAbd al-Raḥmān Muḥammad Ali ʿAjjāl' +imageUrl: https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1461018080l/29587295._SX318_.jpg +--- + +Innal-Hamdalillaah was-Salaatu was-Salāmuala Rasulillaah wa ‘ala Aalihi wa Sahbihi wa man walaa’… +wa ba’d: +As-Salām ‘alaykum wa Raḥmatullāhi wa Barakātuh… +‘Ayyuhal-‘Ikhwah wal-Akhawāt (My beloved brothers and sisters in Islām)… +May Allāh increase us and you in (all) Goodness, from whatever form or angle it comes in… + +We would like to present you with : +Endowing mankind with issues that Ibn al-Qayyim heard from Shaykh al-Islām +Compilation & Commentary by: Shaykh Abū ʿAbd al-Raḥmān Muḥammad ʿAlī ʿAjjāl +Now in stock for \$20. For Further details contact us at: darulhadiths@gmail.com or buy your copy at the As-Ṣaḥāba Muṣallá +NOTE: this book is available in Arabic only. + +Who is Abū ‘Abdur Raḥmān Muḥammad ʿAjjāl? + +ash Shaykh al-ʿAllāmah Ṣāliḥ b. Saʿd as Suḥaymī. + +All praise is due to Allāh and may the Salaat and Salām be upon the Messenger of Allāh. +To proceed: + +Indeed the brother, the Shaykh, Muḥammad ‘Alee ‘Ajaal, who graduated from the faculty of Hadeeth in the Islāmic University of Madeenah, is one of the students of knowledge who are known to me for steadfastness, good mannerisms, sound methodology and keen upon seeking knowledge. He has exerted good efforts in calling to Allāh the Elevated, upon the methodology of the Salaf as Saaleh. +One should be keen upon sitting and benefiting from the likes of him by the permission of Allah. + +Likewise I believe him to be so, and Allah is the One Who holds him to account, and I do not praise anyone over Allāh. +May Allāh grant all success to what He loves and is pleased with, and may the Salaat and Salām be upon the Messenger of Allāh, his family and companions. + +Dr. Ṣāliḥ b. Saʿd as Suḥaymī +Lecturer at the Islāmic University of Madeenah. +Teacher at the Prophetic Masjid of Madeenah. +Dateless. diff --git a/content/blog/ramadaan-series-2010/index.md b/content/blog/ramadaan-series-2010/index.md new file mode 100644 index 000000000..8655aed91 --- /dev/null +++ b/content/blog/ramadaan-series-2010/index.md @@ -0,0 +1,37 @@ +--- +title: 'RAMADAAN SERIES' +date: '2010-07-23T00:39:54.169Z' +description: 'by Shaykh Abu ‘Abdur-Rahman Mohamed ‘Ali' +imageUrl: https://vid.alarabiya.net/images/2020/04/23/9d24cce2-e08d-4d5d-be96-0a84b347b614/9d24cce2-e08d-4d5d-be96-0a84b347b614_16x9_600x338.jpg +thumbnailUrl: https://dubaiweek.ae/wp-content/uploads/2018/05/Ramadan-Moon.jpg +--- + +As-salaamu ‘alaikum wa rahmatullahi wa barakaatuh, + +Dar As-Sahaba presents… + +RAMADAAN SERIES +Focusing on a number of issues related +to the month of Ramadaan + +Taught by: +Shaykh Abu ‘Abdur-Rahman Mohamed ‘Ali +(Graduate of the Islamic University of Madeenah, Faculty of Hadeeth) + +Date & Time: + +- Sunday, July 25th, 2010 +- Sunday, August 1st, 2010 +- Sunday, August 8th, 2010 + +All lectures are from 6:30pm until 8:00pm + +Location: +Musalla As-Sahaba (2835 Dumaurier Ave., Ramsey) + +This class is free for both brothers and sisters and we encourage you to benefit from this blessed knowledge and attend. + +Please pass on this message. + +— +Dar As-Sahaba Admin diff --git a/content/blog/tonights-40-ahadeeth-class-sundayjune-13th-2010-cancelled/index.md b/content/blog/tonights-40-ahadeeth-class-sundayjune-13th-2010-cancelled/index.md new file mode 100644 index 000000000..37436e899 --- /dev/null +++ b/content/blog/tonights-40-ahadeeth-class-sundayjune-13th-2010-cancelled/index.md @@ -0,0 +1,16 @@ +--- +title: "Tonight's 40 Ahadeeth Class (Sunday, June 13th, 2010)" +date: '2010-06-13T14:59:54.169Z' +description: 'Cancelled' +imageUrl: https://cdn11.bigcommerce.com/s-nadqkm/images/stencil/1280x1280/products/9331/1890/40hadithfawzaan_tn__86202.1406787212.jpg +thumbnailUrl: https://safinatulnajat.com/wp-content/uploads/2017/02/Explanatory-Notes-on-Imaam-An-Nawawees-Forty-Ahadeeth-Revised.jpg +--- + +As-salaamu ‘alaikum wa rahmatullahi wa barakaatuh, + +This is to inform you that tonight’s 40 Ahadeeth class (Sunday, June 13th, 2010) is CANCELLED. Shaykh Abu ‘Abdur-Rahman will not be able to make it tonight. Class will resume next Sunday in-sha-Allah, unless further advised. + +Please pass on this message. Jazakumullahu khair. + +— +Dar As-Sahaba Admin diff --git a/content/blog/tonights-40-ahadeeth-class-sundayjune-20th-2010-cancelled/index.md b/content/blog/tonights-40-ahadeeth-class-sundayjune-20th-2010-cancelled/index.md new file mode 100644 index 000000000..f1fca4706 --- /dev/null +++ b/content/blog/tonights-40-ahadeeth-class-sundayjune-20th-2010-cancelled/index.md @@ -0,0 +1,16 @@ +--- +title: "Tonight's 40 Ahadeeth Class (Sunday, June 20th, 2010)" +date: '2010-06-20T12:28:54.169Z' +description: 'Cancelled' +imageUrl: https://abuaminaelias.com/wp-content/uploads/2019/09/Forty-Hadith-Imam-al-Nawawi.jpg +thumbnailUrl: https://pbs.twimg.com/media/D3VUJEvXoAA-zFl.png +--- + +As-salaamu ‘alaikum wa rahmatullahi wa barakaatuh, + +This is to inform you that tonight’s 40 Ahadeeth class (Sunday, June 20th, 2010) is CANCELLED. Shaykh Abu ‘Abdur-Rahman will not be able to make it tonight. Class will resume next Sunday in-sha-Allah, unless further advised. + +Please pass on this message. Jazakumullahu khair. + +— +Dar As-Sahaba Admin diff --git a/content/blog/tonights-40-ahadeeth-class-sundaymay-9th-2010-cancelled/index.md b/content/blog/tonights-40-ahadeeth-class-sundaymay-9th-2010-cancelled/index.md new file mode 100644 index 000000000..87d908767 --- /dev/null +++ b/content/blog/tonights-40-ahadeeth-class-sundaymay-9th-2010-cancelled/index.md @@ -0,0 +1,16 @@ +--- +title: "Tonight's 40 Ahadeeth Class (Sunday, June 20th, 2010)" +date: '2010-05-09T13:09:54.169Z' +description: 'Cancelled' +imageUrl: http://www.jibreelinstitute.com/wp-content/uploads/2013/11/fortyHadithBannerPost.jpg +thumbnailUrl: https://image.alkawthartv.com/image/855x495/2017/07/30/636370141128110197.jpg +--- + +As-salaamu ‘alaikum wa rahmatullahi wa barakaatuh, + +This is to inform you that tonight’s 40 Ahadeeth class (Sunday, May 9th, 2010) is CANCELLED. Shaykh Abu ‘Abdur-Rahman will not be able to make it tonight. Class will resume next Sunday in-sha-Allah, unless further advised. + +Please pass on this message. Jazakumullahu khair. + +— +Dar As-Sahaba Admin diff --git a/package-lock.json b/package-lock.json index 6d34ca690..5f4d7c6b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "das-js", - "version": "0.5.0", + "version": "0.5.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f0f5ed4fd..fc02d235f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "homepage": "https://ragaeeb.github.io/das-js", "description": "Dar as-Sahābah website", - "version": "0.5.0", + "version": "0.5.1", "license": "MIT", "scripts": { "build": "gatsby build", diff --git a/src/utils/calculator.js b/src/utils/calculator.js index d0391a49f..1e46cdcf9 100644 --- a/src/utils/calculator.js +++ b/src/utils/calculator.js @@ -58,7 +58,7 @@ const getIqamahInRange = (day, monthData) => { for (let i = ranges.length - 1; i >= 0; i -= 1) { const range = ranges[i]; - if (day >= range) { + if (parseInt(day, 10) >= parseInt(range, 10)) { return monthData[range]; } }