Arduino-Prayer-Times icon indicating copy to clipboard operation
Arduino-Prayer-Times copied to clipboard

Tuning Times

Open minida28 opened this issue 8 years ago • 0 comments

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.

minida28 avatar Jul 11 '17 08:07 minida28