-
Notifications
You must be signed in to change notification settings - Fork 0
/
salahtime.1
83 lines (66 loc) · 2.19 KB
/
salahtime.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.TH "SALAHTIME" "1" "" "Unix Sheikh" ""
.SH "NAME"
salahtime \- displays the Islamic prayer time for Europe/Copenhagen
.SH "SYNOPSIS"
.B salahtime
[\fB\min\fR]
.SH OPTIONS
.TP
.B n
The optional number of minutes to modify the time. Default is 0.
.SH "DESCRIPTION"
Bismillah Ar-Rahman Ar-Raheem.
Without any additional input salahtime will display the prayer times without daylight saving time
following the Islamic school of jurisprudence of Imam Shafi'i (rahimahullah).
salahtime does not calculate or display the time of asr by other views
because there is a great difference of opinion within the Hanafi school about the time of asr.
This is due to the fact that both of Abu Hanifa's (rahimahullah) main students -
Qadi Abu Yusuf (rahimahullah) and Muhammad ibn al-Hasan (rahimahullah),
held asr to come in at one shadow length, contrary to their teacher's position of two shadow lengths.
Hence, Muslims who follow any of these views know what to add to the time of asr
when looking at a time table from the Shafi'i school of jurisprudence.
.nf
$ salahtime
---------------------
Date today 01-01-2018
Time right now is: 13:25
---------------------
Fajr: 06:40
Shuruk: 08:37
Dhuhr: 12:15
Asr: 13:35
Maghrib: 15:51
Isha: 17:41
---------------------
.fi
You can change to daylight saving time by adding an hour (specified in minutes):
.nf
$ salahtime 60
.fi
If your city isn't Copenhagen, but a city close by like Århus,
you can also account for that by adding the extra 9 minutes.
.nf
$ salahtime 69
.fi
You can also subtract time if you need to do that:
.nf
$ salahtime -5
.fi
.SH "NOTE"
If you're using the Bash shell and you want to avoid having
to add the number "60" during daylight savings you can create
a simple script that will detect daylights savings and then add 60 minutes:
.nf
# Automatic detection of summer time for salahtime.
if test $OFF_NOW -gt $OFF_1 || test $OFF_NOW -gt $OFF_7; then
alias salahtime='salahtime 60; printf "Daylights savings: On\n"';
fi
.fi
Currently the maximum amount of minutes you can add or subtract are 120 minutes.
.SH "FILES"
.nf
salahtime
salahtime.1
.fi
.SH "AUTHOR"
Unix Sheikh