asmaklad / Arduino-Prayer-Times

Arduino Library for caluclating Islamic Prayer Times
36 stars 27 forks source link

Tuning Times #2

Open minida28 opened 7 years ago

minida28 commented 7 years ago

Assalamu alaikum @asmaklad ,

I want to tune the calculated pray time, for example add +0.5 or -0.5 minute to the final computed time.

How can I achieve that with your library?

In the http://praytimes.org/manual/#Tuning_Times, on the last section at the bottom, there is tune / offset function. It seems it is what I after.

tune (offsets)
where offsets is an associative array containing time offsets in minutes for each prayer time.

Example
prayTimes.tune( {sunrise: -1, sunset: 3.5} );

As far as I understand from your code, it has not been supported in your library.

Could you implement that tune / offset function in your library?

Jazaakumullah khairan katsiraa / May Allāh reward you [with] goodness.