По мнению некоторых ученых время ночного намаза заканчивается в полночь и ночной намаз, совершенный после полуночи считается возмещенным. А полночь в свою очередь определяется как середина между временем вечернего азана и утреннего.
Эта программа подсчитывает время полуночи для заданного года в заданной местности.
-
Создаем в корне файл
config.json
и заполняем:{ "latitude": 21.422512, // широта вашей местности "longitude": 39.82618, // долгота вашей местности "year": 2024, "outputCSV": "Midnight.csv" }
-
Теперь запускаем:
make run
. -
На этом полномочия данного кода все, теперь идем в гугл таблицы: https://docs.google.com/spreadsheets/
-
Тыкаем сюда:
-
Потом сюда:
-
Выбираем выходной файл программы (если ничего не меняли, то он в папке с кодом:
Midnight.csv
) -
Теперь сортируем даты от А до Я:
-
Выбираем столбцы с данными (A и B), нажимаем "вставка", потом "диаграмма":
-
Готово.