mihrab-methods 1.3.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/certification.json +27 -4
- package/data/corrections/diyanet.json +48 -316
- package/data/corrections/kazakhstan.json +5 -0
- package/dist/cjs/authorities/kazakhstan.d.ts +3 -0
- package/dist/cjs/authorities/kazakhstan.js +49 -0
- package/dist/cjs/core/compute.js +8 -4
- package/dist/cjs/core/types.d.ts +1 -1
- package/dist/cjs/core/types.js +1 -1
- package/dist/cjs/data/generated/diyanetCertification.js +1 -1
- package/dist/cjs/data/generated/diyanetCorrections.js +1 -1
- package/dist/cjs/data/generated/diyanetWorldPoints.js +1 -1
- package/dist/cjs/data/generated/kazakhstanCertification.d.ts +3 -0
- package/dist/cjs/data/generated/kazakhstanCertification.js +4 -0
- package/dist/cjs/data/generated/kazakhstanCities.d.ts +7 -0
- package/dist/cjs/data/generated/kazakhstanCities.js +5 -0
- package/dist/cjs/data/generated/kazakhstanCorrections.d.ts +3 -0
- package/dist/cjs/data/generated/kazakhstanCorrections.js +4 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/kazakhstan.d.ts +4 -0
- package/dist/cjs/kazakhstan.js +22 -0
- package/dist/cjs/methods/kazakhstan.d.ts +58 -0
- package/dist/cjs/methods/kazakhstan.js +129 -0
- package/dist/cjs/methods/revisions.d.ts +2 -1
- package/dist/cjs/methods/revisions.js +2 -1
- package/dist/esm/authorities/kazakhstan.d.ts +3 -0
- package/dist/esm/authorities/kazakhstan.js +43 -0
- package/dist/esm/core/compute.js +8 -4
- package/dist/esm/core/types.d.ts +1 -1
- package/dist/esm/core/types.js +1 -1
- package/dist/esm/data/generated/diyanetCertification.js +1 -1
- package/dist/esm/data/generated/diyanetCorrections.js +1 -1
- package/dist/esm/data/generated/diyanetWorldPoints.js +1 -1
- package/dist/esm/data/generated/kazakhstanCertification.d.ts +3 -0
- package/dist/esm/data/generated/kazakhstanCertification.js +2 -0
- package/dist/esm/data/generated/kazakhstanCities.d.ts +7 -0
- package/dist/esm/data/generated/kazakhstanCities.js +3 -0
- package/dist/esm/data/generated/kazakhstanCorrections.d.ts +3 -0
- package/dist/esm/data/generated/kazakhstanCorrections.js +2 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/kazakhstan.d.ts +4 -0
- package/dist/esm/kazakhstan.js +4 -0
- package/dist/esm/methods/kazakhstan.d.ts +58 -0
- package/dist/esm/methods/kazakhstan.js +124 -0
- package/dist/esm/methods/revisions.d.ts +2 -1
- package/dist/esm/methods/revisions.js +2 -1
- package/docs/methods.md +29 -0
- package/package.json +17 -2
- package/schemas/certification.schema.json +2 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
**Prayer times that match the published timetable to the printed minute.**
|
|
10
10
|
Each national authority's own calculation method, worked out again from its
|
|
11
11
|
published times and checked day by day against its timetables: <!--fig:total.off-->0<!--/fig--> of
|
|
12
|
-
<!--fig:total.times-->
|
|
12
|
+
<!--fig:total.times-->76,010,102<!--/fig--> times off the printed minute. Free for any app, site or
|
|
13
13
|
mosque to use.
|
|
14
14
|
|
|
15
15
|
[](#usage)
|
|
@@ -39,13 +39,14 @@ The full API, the HTTP server and the per-authority imports are in
|
|
|
39
39
|
|---|---|---:|---:|---:|---:|---:|---|
|
|
40
40
|
| **Sweden** | Islamiska Förbundet’s tables | 107 | 63,114 | **0** | 99.968 % | 270 | 11 Oct 2026 → 14 Dec 2027 |
|
|
41
41
|
| | Diyanet’s own tables | 159 | 1,393,794 | **0** | 99.981 % | | 1 Jan 2024 → 31 Dec 2027 |
|
|
42
|
-
| **Diyanet** | its tables worldwide | 8,318 | 71,630,078 | **0** | 99.
|
|
42
|
+
| **Diyanet** | its tables worldwide | 8,318 | 71,630,078 | **0** | 99.987 % | 9,101 | 1 Jan 2024 → 31 Dec 2027 |
|
|
43
43
|
| **Morocco** | Habous | 164 | 94,350 | **0** | 99.879 % | 114 | 27 Aug 2026 → 30 Nov 2026 |
|
|
44
44
|
| **Algeria** | Ministry of Religious Affairs | 68 | 101,184 | **0** | 99.365 % | 642 | 1 Oct 2026 → 5 Jun 2027 |
|
|
45
45
|
| **Indonesia** | Kemenag | 517 | 362,934 | **0** | 99.935 % | 234 | 7 Oct 2026 → 31 Jan 2027 |
|
|
46
46
|
| **Türkiye Takvimi** | its cities’ years | 821 | 1,812,768 | **0** | 99.952 % | 860 | 31 Dec 2025 → 2 Jan 2027 |
|
|
47
|
+
| **Kazakhstan** | the Spiritual Administration’s times | 84 | 551,880 | **0** | 100.000 % | 0 | 1 Jan 2025 → 31 Dec 2027 |
|
|
47
48
|
|
|
48
|
-
|
|
49
|
+
7 of 7 methods certified; 0 of 76,010,102 times off the printed minute. Last checked 9 November 2026. Generated from [`certification.json`](certification.json) by `scripts/readme.mjs`.
|
|
49
50
|
<!-- certification-table:end -->
|
|
50
51
|
|
|
51
52
|
"By the method alone" is the formula without its correction list. The list
|
package/certification.json
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"places": 8318,
|
|
47
47
|
"times": 71630078,
|
|
48
48
|
"off": 0,
|
|
49
|
-
"offWithoutCorrections":
|
|
49
|
+
"offWithoutCorrections": 9112,
|
|
50
50
|
"from": "2024-01-01",
|
|
51
51
|
"to": "2027-12-31"
|
|
52
52
|
}
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"corrections": {
|
|
55
55
|
"from": "2024-01-01",
|
|
56
56
|
"to": "2027-12-31",
|
|
57
|
-
"entries":
|
|
58
|
-
"sha256": "
|
|
57
|
+
"entries": 9101,
|
|
58
|
+
"sha256": "3b8fabadcd4f2098984daf5105c4223f526c5046f46748fab200dd990ce4a042"
|
|
59
59
|
},
|
|
60
|
-
"revision":
|
|
60
|
+
"revision": 2
|
|
61
61
|
},
|
|
62
62
|
"morocco": {
|
|
63
63
|
"certified": true,
|
|
@@ -150,5 +150,28 @@
|
|
|
150
150
|
"sha256": "edf5bd37ccd06dbcb87300a6c943353adb624a545ff6ea416a8f89715713d7bd"
|
|
151
151
|
},
|
|
152
152
|
"revision": 1
|
|
153
|
+
},
|
|
154
|
+
"kazakhstan": {
|
|
155
|
+
"certified": true,
|
|
156
|
+
"checkedAt": "2026-11-11",
|
|
157
|
+
"places": 84,
|
|
158
|
+
"checks": [
|
|
159
|
+
{
|
|
160
|
+
"tables": "Kazakhstan — the Spiritual Administration’s times",
|
|
161
|
+
"places": 84,
|
|
162
|
+
"times": 551880,
|
|
163
|
+
"off": 0,
|
|
164
|
+
"offWithoutCorrections": 0,
|
|
165
|
+
"from": "2025-01-01",
|
|
166
|
+
"to": "2027-12-31"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"corrections": {
|
|
170
|
+
"from": "2025-01-01",
|
|
171
|
+
"to": "2027-12-31",
|
|
172
|
+
"entries": 0,
|
|
173
|
+
"sha256": "e3d60e566ca082f74ce9904886087b29e65d2871c5bcc02f46349d82c8994d88"
|
|
174
|
+
},
|
|
175
|
+
"revision": 1
|
|
153
176
|
}
|
|
154
177
|
}
|
|
@@ -112,17 +112,6 @@
|
|
|
112
112
|
"-19.455,-44.248": [
|
|
113
113
|
"2025-01-15 maghrib +1"
|
|
114
114
|
],
|
|
115
|
-
"-19.573,147.400": [
|
|
116
|
-
"2024-11-25 sunrise -1",
|
|
117
|
-
"2024-11-27 maghrib +1",
|
|
118
|
-
"2024-12-25 fajr -1",
|
|
119
|
-
"2025-12-02 fajr -1",
|
|
120
|
-
"2026-02-02 maghrib +1",
|
|
121
|
-
"2026-08-14 sunrise +1",
|
|
122
|
-
"2026-11-20 isha +1",
|
|
123
|
-
"2026-12-02 fajr -1",
|
|
124
|
-
"2027-11-20 fajr -1"
|
|
125
|
-
],
|
|
126
115
|
"-19.582,-65.763": [
|
|
127
116
|
"2025-09-21 isha -1",
|
|
128
117
|
"2026-10-22 fajr +1"
|
|
@@ -296,19 +285,8 @@
|
|
|
296
285
|
"-27.224,153.103": [
|
|
297
286
|
"2026-08-21 sunrise +1"
|
|
298
287
|
],
|
|
299
|
-
"-27.
|
|
300
|
-
"
|
|
301
|
-
"2024-12-16 isha +1",
|
|
302
|
-
"2025-06-12 sunrise +1",
|
|
303
|
-
"2025-10-27 fajr -1",
|
|
304
|
-
"2025-11-09 asr +1",
|
|
305
|
-
"2025-11-25 isha +1",
|
|
306
|
-
"2026-01-03 maghrib +1",
|
|
307
|
-
"2026-01-16 asr +1",
|
|
308
|
-
"2026-02-06 sunrise -1",
|
|
309
|
-
"2026-04-18 asr -1",
|
|
310
|
-
"2026-11-05 maghrib +1",
|
|
311
|
-
"2027-10-13 asr +1"
|
|
288
|
+
"-27.322,153.054": [
|
|
289
|
+
"2025-06-12 sunrise +1"
|
|
312
290
|
],
|
|
313
291
|
"-27.358,-70.340": [
|
|
314
292
|
"2024-06-10 isha -1"
|
|
@@ -447,19 +425,8 @@
|
|
|
447
425
|
"2024-09-01 sunrise +1",
|
|
448
426
|
"2025-07-10 fajr +1"
|
|
449
427
|
],
|
|
450
|
-
"-32.
|
|
451
|
-
"
|
|
452
|
-
"2024-11-20 asr +1",
|
|
453
|
-
"2025-05-03 maghrib -1",
|
|
454
|
-
"2025-08-23 asr -1",
|
|
455
|
-
"2026-02-01 dhuhr +1",
|
|
456
|
-
"2026-10-21 isha +1",
|
|
457
|
-
"2026-10-23 isha +1",
|
|
458
|
-
"2026-11-20 maghrib +1",
|
|
459
|
-
"2026-11-22 isha +1",
|
|
460
|
-
"2027-01-15 sunrise -1",
|
|
461
|
-
"2027-11-18 isha +1",
|
|
462
|
-
"2027-12-03 isha +1"
|
|
428
|
+
"-32.082,115.997": [
|
|
429
|
+
"2026-02-01 dhuhr +1"
|
|
463
430
|
],
|
|
464
431
|
"-32.254,148.597": [
|
|
465
432
|
"2024-06-30 sunrise -1"
|
|
@@ -1447,20 +1414,6 @@
|
|
|
1447
1414
|
"2025-08-01 sunrise -1",
|
|
1448
1415
|
"2027-07-24 asr -1"
|
|
1449
1416
|
],
|
|
1450
|
-
"20.641,-87.089": [
|
|
1451
|
-
"2024-01-16 isha -1",
|
|
1452
|
-
"2024-03-31 sunrise -1",
|
|
1453
|
-
"2024-04-20 asr +1",
|
|
1454
|
-
"2025-04-05 asr +1",
|
|
1455
|
-
"2025-05-10 sunrise -1",
|
|
1456
|
-
"2025-05-11 asr +1",
|
|
1457
|
-
"2025-08-16 asr +1",
|
|
1458
|
-
"2026-01-15 fajr +1",
|
|
1459
|
-
"2026-06-23 isha +1",
|
|
1460
|
-
"2026-07-05 fajr -1",
|
|
1461
|
-
"2027-02-15 sunrise +1",
|
|
1462
|
-
"2027-05-04 isha +1"
|
|
1463
|
-
],
|
|
1464
1417
|
"20.667,-103.359": [
|
|
1465
1418
|
"2027-08-13 isha +1"
|
|
1466
1419
|
],
|
|
@@ -1485,13 +1438,8 @@
|
|
|
1485
1438
|
"20.965,-76.955": [
|
|
1486
1439
|
"2025-01-27 dhuhr +1"
|
|
1487
1440
|
],
|
|
1488
|
-
"20.
|
|
1489
|
-
"2024-
|
|
1490
|
-
"2025-05-30 isha -1",
|
|
1491
|
-
"2025-07-02 fajr +1",
|
|
1492
|
-
"2026-01-03 maghrib +1",
|
|
1493
|
-
"2027-01-15 asr +1",
|
|
1494
|
-
"2027-12-12 fajr -1"
|
|
1441
|
+
"20.982,-89.624": [
|
|
1442
|
+
"2024-06-10 sunrise -1"
|
|
1495
1443
|
],
|
|
1496
1444
|
"21.033,105.844": [
|
|
1497
1445
|
"2024-01-13 isha +1"
|
|
@@ -1795,15 +1743,6 @@
|
|
|
1795
1743
|
"27.790,-82.647": [
|
|
1796
1744
|
"2025-08-01 sunrise -1"
|
|
1797
1745
|
],
|
|
1798
|
-
"27.921,-110.904": [
|
|
1799
|
-
"2025-03-24 isha -1",
|
|
1800
|
-
"2025-04-24 isha -1",
|
|
1801
|
-
"2025-07-31 fajr +1",
|
|
1802
|
-
"2025-08-12 isha -1",
|
|
1803
|
-
"2026-02-25 sunrise -1",
|
|
1804
|
-
"2026-07-09 isha -1",
|
|
1805
|
-
"2027-06-11 maghrib -1"
|
|
1806
|
-
],
|
|
1807
1746
|
"28.033,-81.736": [
|
|
1808
1747
|
"2024-04-06 sunrise +1",
|
|
1809
1748
|
"2024-06-20 fajr -1"
|
|
@@ -1818,13 +1757,6 @@
|
|
|
1818
1757
|
"28.129,-15.439": [
|
|
1819
1758
|
"2026-05-05 dhuhr -1"
|
|
1820
1759
|
],
|
|
1821
|
-
"28.196,-105.477": [
|
|
1822
|
-
"2024-11-12 maghrib +1",
|
|
1823
|
-
"2025-12-30 isha +1",
|
|
1824
|
-
"2026-07-19 fajr +1",
|
|
1825
|
-
"2027-01-15 asr +1",
|
|
1826
|
-
"2027-05-10 fajr +1"
|
|
1827
|
-
],
|
|
1828
1760
|
"28.196,112.954": [
|
|
1829
1761
|
"2024-08-06 isha +1"
|
|
1830
1762
|
],
|
|
@@ -1880,18 +1812,6 @@
|
|
|
1880
1812
|
"29.273,47.930": [
|
|
1881
1813
|
"2024-08-11 maghrib +1"
|
|
1882
1814
|
],
|
|
1883
|
-
"29.312,30.832": [
|
|
1884
|
-
"2024-01-04 sunrise +1",
|
|
1885
|
-
"2024-06-25 fajr -1",
|
|
1886
|
-
"2024-06-30 fajr -1",
|
|
1887
|
-
"2024-09-15 sunrise -1",
|
|
1888
|
-
"2025-08-11 asr +1",
|
|
1889
|
-
"2025-08-11 fajr -1",
|
|
1890
|
-
"2025-12-22 asr -1",
|
|
1891
|
-
"2026-10-22 asr -1",
|
|
1892
|
-
"2026-11-18 isha -1",
|
|
1893
|
-
"2027-12-21 fajr +1"
|
|
1894
|
-
],
|
|
1895
1815
|
"29.318,48.061": [
|
|
1896
1816
|
"2026-05-05 dhuhr -1"
|
|
1897
1817
|
],
|
|
@@ -2505,23 +2425,6 @@
|
|
|
2505
2425
|
"2024-08-26 isha +1",
|
|
2506
2426
|
"2024-11-24 sunrise -1"
|
|
2507
2427
|
],
|
|
2508
|
-
"34.957,137.158": [
|
|
2509
|
-
"2024-05-30 maghrib +1",
|
|
2510
|
-
"2024-06-05 fajr -1",
|
|
2511
|
-
"2024-06-18 isha +1",
|
|
2512
|
-
"2025-02-16 maghrib -1",
|
|
2513
|
-
"2025-04-08 fajr -1",
|
|
2514
|
-
"2025-05-17 sunrise -1",
|
|
2515
|
-
"2025-07-17 asr +1",
|
|
2516
|
-
"2025-12-29 isha -1",
|
|
2517
|
-
"2026-07-08 sunrise -1",
|
|
2518
|
-
"2026-07-15 fajr -1",
|
|
2519
|
-
"2026-07-25 sunrise -1",
|
|
2520
|
-
"2026-08-04 isha +1",
|
|
2521
|
-
"2026-08-13 isha +1",
|
|
2522
|
-
"2026-11-12 fajr +1",
|
|
2523
|
-
"2027-11-16 asr -1"
|
|
2524
|
-
],
|
|
2525
2428
|
"34.966,136.633": [
|
|
2526
2429
|
"2024-04-29 fajr -1"
|
|
2527
2430
|
],
|
|
@@ -6077,38 +5980,8 @@
|
|
|
6077
5980
|
"43.881,-79.255": [
|
|
6078
5981
|
"2024-01-17 isha +1"
|
|
6079
5982
|
],
|
|
6080
|
-
"43.
|
|
6081
|
-
"
|
|
6082
|
-
"2024-06-21 sunrise -1",
|
|
6083
|
-
"2024-06-28 fajr -1",
|
|
6084
|
-
"2024-07-13 fajr -1",
|
|
6085
|
-
"2024-08-06 maghrib +1",
|
|
6086
|
-
"2024-12-10 isha -1",
|
|
6087
|
-
"2025-01-29 maghrib -1",
|
|
6088
|
-
"2025-02-21 asr -1",
|
|
6089
|
-
"2025-02-25 sunrise +1",
|
|
6090
|
-
"2025-05-09 isha +1",
|
|
6091
|
-
"2025-05-20 fajr -1",
|
|
6092
|
-
"2025-06-20 maghrib +1",
|
|
6093
|
-
"2025-07-06 isha +1",
|
|
6094
|
-
"2025-07-20 asr +1",
|
|
6095
|
-
"2025-08-24 maghrib +1",
|
|
6096
|
-
"2025-11-12 maghrib -1",
|
|
6097
|
-
"2025-12-28 sunrise +1",
|
|
6098
|
-
"2025-12-30 maghrib -1",
|
|
6099
|
-
"2026-01-21 maghrib -1",
|
|
6100
|
-
"2026-06-13 isha +1",
|
|
6101
|
-
"2026-06-25 sunrise -1",
|
|
6102
|
-
"2026-06-26 asr +1",
|
|
6103
|
-
"2026-09-11 fajr -1",
|
|
6104
|
-
"2027-01-06 asr -1",
|
|
6105
|
-
"2027-04-05 isha +1",
|
|
6106
|
-
"2027-04-11 isha +1",
|
|
6107
|
-
"2027-05-06 isha +1",
|
|
6108
|
-
"2027-06-30 sunrise -1",
|
|
6109
|
-
"2027-07-19 sunrise -1",
|
|
6110
|
-
"2027-08-01 isha +1",
|
|
6111
|
-
"2027-08-07 isha +1"
|
|
5983
|
+
"43.884,125.294": [
|
|
5984
|
+
"2026-04-12 sunrise +1"
|
|
6112
5985
|
],
|
|
6113
5986
|
"43.888,10.234": [
|
|
6114
5987
|
"2026-09-02 fajr -1",
|
|
@@ -8721,69 +8594,30 @@
|
|
|
8721
8594
|
"2024-10-05 dhuhr -1",
|
|
8722
8595
|
"2027-05-08 maghrib +1"
|
|
8723
8596
|
],
|
|
8724
|
-
"48.
|
|
8725
|
-
"
|
|
8726
|
-
"
|
|
8727
|
-
"
|
|
8728
|
-
"
|
|
8729
|
-
"
|
|
8730
|
-
"
|
|
8731
|
-
"
|
|
8732
|
-
"
|
|
8733
|
-
"
|
|
8734
|
-
"2026-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
"2026-
|
|
8738
|
-
"2026-
|
|
8739
|
-
"2026-
|
|
8740
|
-
"2026-
|
|
8741
|
-
"2026-
|
|
8742
|
-
"
|
|
8743
|
-
"
|
|
8744
|
-
"
|
|
8745
|
-
"
|
|
8746
|
-
"
|
|
8747
|
-
"
|
|
8748
|
-
"2027-09-25 isha -1",
|
|
8749
|
-
"2027-10-10 fajr +1",
|
|
8750
|
-
"2027-11-16 sunrise -1"
|
|
8751
|
-
],
|
|
8752
|
-
"48.025,8.526": [
|
|
8753
|
-
"2024-02-02 sunrise -1",
|
|
8754
|
-
"2024-03-23 maghrib -1",
|
|
8755
|
-
"2024-07-28 fajr -1",
|
|
8756
|
-
"2024-09-09 maghrib -1",
|
|
8757
|
-
"2024-09-29 fajr +1",
|
|
8758
|
-
"2024-12-20 asr +1",
|
|
8759
|
-
"2024-12-23 isha +1",
|
|
8760
|
-
"2024-12-28 sunrise -1",
|
|
8761
|
-
"2025-04-22 sunrise +1",
|
|
8762
|
-
"2025-05-05 fajr -1",
|
|
8763
|
-
"2025-05-10 fajr -1",
|
|
8764
|
-
"2025-05-15 fajr -1",
|
|
8765
|
-
"2025-05-20 fajr -1",
|
|
8766
|
-
"2025-05-25 fajr -1",
|
|
8767
|
-
"2025-05-30 fajr -1",
|
|
8768
|
-
"2025-06-04 fajr -1",
|
|
8769
|
-
"2025-06-09 fajr -1",
|
|
8770
|
-
"2025-06-14 fajr -1",
|
|
8771
|
-
"2025-06-19 fajr -1",
|
|
8772
|
-
"2025-06-23 isha +1",
|
|
8773
|
-
"2025-09-22 isha -1",
|
|
8774
|
-
"2025-10-27 asr +1",
|
|
8775
|
-
"2025-12-11 maghrib +1",
|
|
8776
|
-
"2026-04-18 fajr +1",
|
|
8777
|
-
"2026-05-04 isha -1",
|
|
8778
|
-
"2026-05-05 maghrib -1",
|
|
8779
|
-
"2026-12-12 maghrib +1",
|
|
8780
|
-
"2027-02-26 fajr +1",
|
|
8781
|
-
"2027-06-28 fajr -1",
|
|
8782
|
-
"2027-07-10 fajr -1",
|
|
8783
|
-
"2027-07-22 fajr -1",
|
|
8784
|
-
"2027-08-03 fajr -1",
|
|
8785
|
-
"2027-10-03 isha -1",
|
|
8786
|
-
"2027-12-12 maghrib +1"
|
|
8597
|
+
"48.024,125.865": [
|
|
8598
|
+
"2025-05-06 sunrise -1",
|
|
8599
|
+
"2026-07-01 fajr -1",
|
|
8600
|
+
"2026-07-08 fajr -1",
|
|
8601
|
+
"2026-07-13 fajr -1",
|
|
8602
|
+
"2026-07-20 fajr -1",
|
|
8603
|
+
"2026-07-25 fajr -1",
|
|
8604
|
+
"2026-07-27 fajr -1",
|
|
8605
|
+
"2026-08-01 fajr -1",
|
|
8606
|
+
"2026-08-03 fajr -1",
|
|
8607
|
+
"2026-08-06 fajr -1"
|
|
8608
|
+
],
|
|
8609
|
+
"48.024,8.526": [
|
|
8610
|
+
"2026-07-05 fajr -1",
|
|
8611
|
+
"2026-07-12 fajr -1",
|
|
8612
|
+
"2026-07-17 fajr -1",
|
|
8613
|
+
"2026-07-19 fajr -1",
|
|
8614
|
+
"2026-07-24 fajr -1",
|
|
8615
|
+
"2026-07-26 fajr -1",
|
|
8616
|
+
"2026-07-29 fajr -1",
|
|
8617
|
+
"2026-07-31 fajr -1",
|
|
8618
|
+
"2026-08-02 fajr -1",
|
|
8619
|
+
"2026-08-05 fajr -1",
|
|
8620
|
+
"2026-08-07 fajr -1"
|
|
8787
8621
|
],
|
|
8788
8622
|
"48.029,12.555": [
|
|
8789
8623
|
"2025-01-18 maghrib +1",
|
|
@@ -9395,42 +9229,9 @@
|
|
|
9395
9229
|
"48.464,9.221": [
|
|
9396
9230
|
"2027-08-06 maghrib +1"
|
|
9397
9231
|
],
|
|
9398
|
-
"48.465,38.
|
|
9399
|
-
"2024-01-06 asr -1",
|
|
9400
|
-
"2024-02-07 sunrise -1",
|
|
9401
|
-
"2024-05-05 dhuhr -1",
|
|
9402
|
-
"2024-06-16 sunrise -1",
|
|
9232
|
+
"48.465,38.801": [
|
|
9403
9233
|
"2024-09-04 sunrise -1",
|
|
9404
|
-
"
|
|
9405
|
-
"2025-03-28 isha -1",
|
|
9406
|
-
"2025-04-08 isha -1",
|
|
9407
|
-
"2025-06-14 maghrib -1",
|
|
9408
|
-
"2025-07-29 sunrise -1",
|
|
9409
|
-
"2025-08-08 dhuhr -1",
|
|
9410
|
-
"2025-10-10 isha -1",
|
|
9411
|
-
"2025-10-24 asr -1",
|
|
9412
|
-
"2025-11-06 asr -1",
|
|
9413
|
-
"2026-01-19 fajr -1",
|
|
9414
|
-
"2026-02-15 fajr -1",
|
|
9415
|
-
"2026-06-19 maghrib -1",
|
|
9416
|
-
"2026-07-01 asr -1",
|
|
9417
|
-
"2026-07-09 asr -1",
|
|
9418
|
-
"2026-08-29 sunrise -1",
|
|
9419
|
-
"2026-09-20 isha -1",
|
|
9420
|
-
"2026-10-02 maghrib -1",
|
|
9421
|
-
"2026-11-08 dhuhr -1",
|
|
9422
|
-
"2026-11-27 sunrise -1",
|
|
9423
|
-
"2027-01-28 maghrib -1",
|
|
9424
|
-
"2027-04-22 isha -1",
|
|
9425
|
-
"2027-05-13 isha -1",
|
|
9426
|
-
"2027-05-15 asr -1",
|
|
9427
|
-
"2027-05-31 fajr -1",
|
|
9428
|
-
"2027-07-13 maghrib -1",
|
|
9429
|
-
"2027-09-04 sunrise -1",
|
|
9430
|
-
"2027-10-12 isha -1",
|
|
9431
|
-
"2027-10-13 asr -1",
|
|
9432
|
-
"2027-12-06 dhuhr -1",
|
|
9433
|
-
"2027-12-19 dhuhr -1"
|
|
9234
|
+
"2026-08-19 maghrib +1"
|
|
9434
9235
|
],
|
|
9435
9236
|
"48.468,-1.495": [
|
|
9436
9237
|
"2026-01-05 isha -1"
|
|
@@ -17116,62 +16917,20 @@
|
|
|
17116
16917
|
"2026-07-14 maghrib +1",
|
|
17117
16918
|
"2027-01-08 maghrib -1"
|
|
17118
16919
|
],
|
|
17119
|
-
"54.
|
|
17120
|
-
"2024-04-27 sunrise +1",
|
|
17121
|
-
"2024-05-20 sunrise +1",
|
|
17122
|
-
"2024-06-09 isha +1",
|
|
17123
|
-
"2024-06-17 isha +1",
|
|
17124
|
-
"2024-06-25 fajr -1",
|
|
17125
|
-
"2024-07-12 isha +1",
|
|
17126
|
-
"2024-07-29 asr -1",
|
|
17127
|
-
"2024-08-01 sunrise +1",
|
|
17128
|
-
"2025-02-01 sunrise -1",
|
|
17129
|
-
"2025-04-04 fajr +1",
|
|
16920
|
+
"54.203,27.852": [
|
|
17130
16921
|
"2025-05-03 dhuhr -1",
|
|
17131
|
-
"
|
|
17132
|
-
"
|
|
17133
|
-
"
|
|
17134
|
-
"
|
|
17135
|
-
"
|
|
17136
|
-
"
|
|
17137
|
-
"2026-
|
|
17138
|
-
"2026-
|
|
17139
|
-
"2026-
|
|
17140
|
-
"2026-
|
|
17141
|
-
"2026-
|
|
17142
|
-
"
|
|
17143
|
-
"2026-05-02 fajr -1",
|
|
17144
|
-
"2026-05-07 fajr -1",
|
|
17145
|
-
"2026-06-09 sunrise +1",
|
|
17146
|
-
"2026-06-15 sunrise +1",
|
|
17147
|
-
"2026-06-24 isha +1",
|
|
17148
|
-
"2026-06-30 isha +1",
|
|
17149
|
-
"2026-07-28 fajr -1",
|
|
17150
|
-
"2026-08-19 sunrise +1",
|
|
17151
|
-
"2026-12-23 sunrise -1",
|
|
17152
|
-
"2027-04-06 fajr +1",
|
|
17153
|
-
"2027-04-15 fajr +1",
|
|
17154
|
-
"2027-04-16 fajr +1",
|
|
17155
|
-
"2027-04-16 isha +1",
|
|
17156
|
-
"2027-04-18 fajr +1",
|
|
17157
|
-
"2027-04-19 fajr +1",
|
|
17158
|
-
"2027-04-20 isha +1",
|
|
17159
|
-
"2027-04-22 fajr +1",
|
|
17160
|
-
"2027-04-23 fajr +1",
|
|
17161
|
-
"2027-04-25 sunrise +1",
|
|
17162
|
-
"2027-04-26 fajr +1",
|
|
17163
|
-
"2027-04-30 fajr +1",
|
|
17164
|
-
"2027-05-18 isha +1",
|
|
17165
|
-
"2027-05-30 maghrib -1",
|
|
17166
|
-
"2027-06-22 isha +1",
|
|
17167
|
-
"2027-06-27 fajr -1",
|
|
17168
|
-
"2027-07-02 isha +1",
|
|
17169
|
-
"2027-07-03 fajr -1",
|
|
17170
|
-
"2027-07-23 fajr -1",
|
|
17171
|
-
"2027-07-24 fajr -1",
|
|
17172
|
-
"2027-08-16 fajr -1",
|
|
17173
|
-
"2027-08-30 fajr -1",
|
|
17174
|
-
"2027-11-30 asr +1"
|
|
16922
|
+
"2026-08-03 isha +1",
|
|
16923
|
+
"2026-08-11 isha +1",
|
|
16924
|
+
"2026-08-12 isha +1",
|
|
16925
|
+
"2026-08-13 isha +1",
|
|
16926
|
+
"2026-08-14 isha +1",
|
|
16927
|
+
"2026-08-19 isha +1",
|
|
16928
|
+
"2026-08-20 isha +1",
|
|
16929
|
+
"2026-08-21 isha +1",
|
|
16930
|
+
"2026-08-22 isha +1",
|
|
16931
|
+
"2026-08-23 isha +1",
|
|
16932
|
+
"2026-08-24 isha +1",
|
|
16933
|
+
"2027-12-24 fajr +1"
|
|
17175
16934
|
],
|
|
17176
16935
|
"54.218,10.873": [
|
|
17177
16936
|
"2027-06-10 fajr +1",
|
|
@@ -18708,34 +18467,7 @@
|
|
|
18708
18467
|
"64.136,-21.904": [
|
|
18709
18468
|
"2024-08-02 asr +1"
|
|
18710
18469
|
],
|
|
18711
|
-
"64.182,-51.
|
|
18712
|
-
"2024-03-17 isha -1",
|
|
18713
|
-
"2024-07-20 fajr -1",
|
|
18714
|
-
"2024-09-30 maghrib -1",
|
|
18715
|
-
"2024-12-26 dhuhr -1",
|
|
18716
|
-
"2024-12-26 maghrib -1",
|
|
18717
|
-
"2024-12-26 sunrise -1",
|
|
18718
|
-
"2024-12-31 isha -1",
|
|
18719
|
-
"2025-02-01 asr -1",
|
|
18720
|
-
"2025-04-11 fajr -1",
|
|
18721
|
-
"2025-04-20 asr -1",
|
|
18722
|
-
"2025-07-24 dhuhr -1",
|
|
18723
|
-
"2025-07-24 sunrise -1",
|
|
18724
|
-
"2025-07-28 dhuhr -1",
|
|
18725
|
-
"2025-08-03 maghrib -1",
|
|
18726
|
-
"2025-08-08 maghrib -1",
|
|
18727
|
-
"2026-03-27 asr -1",
|
|
18728
|
-
"2026-05-01 maghrib -1",
|
|
18729
|
-
"2026-07-24 dhuhr -1",
|
|
18730
|
-
"2026-07-24 sunrise -1",
|
|
18731
|
-
"2026-08-09 isha -1",
|
|
18732
|
-
"2026-09-18 sunrise -1",
|
|
18733
|
-
"2026-10-02 isha -1",
|
|
18734
|
-
"2026-12-12 asr -1",
|
|
18735
|
-
"2027-02-02 sunrise -1",
|
|
18736
|
-
"2027-02-22 dhuhr -1",
|
|
18737
|
-
"2027-03-17 dhuhr -1",
|
|
18738
|
-
"2027-08-22 asr -1",
|
|
18470
|
+
"64.182,-51.739": [
|
|
18739
18471
|
"2027-09-28 sunrise -1"
|
|
18740
18472
|
],
|
|
18741
18473
|
"64.224,27.725": [
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.places = exports.kazakhstan = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* Kazakhstan — the Spiritual Administration of Muslims of Kazakhstan: its
|
|
9
|
+
* cities, each at the coordinates the Administration computes it at.
|
|
10
|
+
*/
|
|
11
|
+
const kazakhstanCities_js_1 = __importDefault(require("../data/generated/kazakhstanCities.js"));
|
|
12
|
+
const kazakhstanCorrections_js_1 = __importDefault(require("../data/generated/kazakhstanCorrections.js"));
|
|
13
|
+
const kazakhstanCertification_js_1 = __importDefault(require("../data/generated/kazakhstanCertification.js"));
|
|
14
|
+
const revisions_js_1 = require("../methods/revisions.js");
|
|
15
|
+
const registry_js_1 = require("../core/registry.js");
|
|
16
|
+
const AUTHORITY = 'kazakhstan';
|
|
17
|
+
/** The whole country keeps UTC+5 (since 1 March 2024), and the Administration prints every place on it. */
|
|
18
|
+
const TZ = 'Asia/Almaty';
|
|
19
|
+
function buildPlaces() {
|
|
20
|
+
return kazakhstanCities_js_1.default.map(c => {
|
|
21
|
+
const key = String(c.id);
|
|
22
|
+
return { authority: AUTHORITY, id: `${AUTHORITY}:${key}`, key, name: c.name, country: 'KZ', lat: c.lat, lon: c.lon, tz: TZ };
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
exports.kazakhstan = (0, registry_js_1.registerAuthority)({
|
|
26
|
+
authority: AUTHORITY,
|
|
27
|
+
revision: revisions_js_1.METHOD_REVISION.kazakhstan,
|
|
28
|
+
places: buildPlaces(),
|
|
29
|
+
corrections: kazakhstanCorrections_js_1.default,
|
|
30
|
+
certification: kazakhstanCertification_js_1.default,
|
|
31
|
+
description: {
|
|
32
|
+
name: 'Kazakhstan — Spiritual Administration of Muslims of Kazakhstan',
|
|
33
|
+
method: 'A short series for the sun, each time computed once from a fixed first guess of its hour; Fajr and Isha at 15°, capped at a quarter of the night from sunrise and sunset; sunrise and sunset at −0.833°; Asr at two shadow lengths (Hanafi); a margin of 3 minutes (5 from 48° N) before sunrise, after the transit, on Asr and on Maghrib after sunset; every time rounded to the nearest minute.',
|
|
34
|
+
countries: ['KZ'],
|
|
35
|
+
parameters: {
|
|
36
|
+
fajrAngle: 15,
|
|
37
|
+
ishaAngle: 15,
|
|
38
|
+
sunriseAltitude: -0.833,
|
|
39
|
+
asrShadow: 2,
|
|
40
|
+
highLatitude: 'a quarter of the night, where the angle is further or not reached',
|
|
41
|
+
marginMinutes: '3; 5 from 48° N — sunrise earlier, Dhuhr, Asr and Maghrib later',
|
|
42
|
+
rounding: 'to the nearest minute',
|
|
43
|
+
sun: 'low-precision series (mean elements linear in time, two terms of the equation of the centre), not iterated',
|
|
44
|
+
},
|
|
45
|
+
sources: [{ title: 'Spiritual Administration of Muslims of Kazakhstan — намаз уақыттары', url: 'https://namaz.muftyat.kz/' }],
|
|
46
|
+
spec: 'docs/methods.md#kazakhstan',
|
|
47
|
+
},
|
|
48
|
+
});
|
|
49
|
+
exports.places = exports.kazakhstan.places;
|
package/dist/cjs/core/compute.js
CHANGED
|
@@ -12,6 +12,7 @@ const morocco_js_1 = require("../methods/morocco.js");
|
|
|
12
12
|
const algeria_js_1 = require("../methods/algeria.js");
|
|
13
13
|
const indonesia_js_1 = require("../methods/indonesia.js");
|
|
14
14
|
const turkiyeTakvimi_js_1 = require("../methods/turkiyeTakvimi.js");
|
|
15
|
+
const kazakhstan_js_1 = require("../methods/kazakhstan.js");
|
|
15
16
|
const registry_js_1 = require("./registry.js");
|
|
16
17
|
const clock_js_1 = require("./clock.js");
|
|
17
18
|
/**
|
|
@@ -35,14 +36,17 @@ function candidateInstants(place, year, month, day, asrShadow = 1, opts = {}) {
|
|
|
35
36
|
case 'morocco':
|
|
36
37
|
case 'algeria':
|
|
37
38
|
case 'indonesia':
|
|
38
|
-
case 'turkiyetakvimi':
|
|
39
|
+
case 'turkiyetakvimi':
|
|
40
|
+
case 'kazakhstan': {
|
|
39
41
|
const t = place.authority === 'morocco'
|
|
40
42
|
? (0, morocco_js_1.moroccoTimes)(place.lat, place.lon, year, month, day, place.dipDeg, asrShadow, place.dipMaghribDeg)
|
|
41
43
|
: place.authority === 'algeria'
|
|
42
44
|
? (0, algeria_js_1.algeriaTimes)(place.lat, place.lon, year, month, day, asrShadow)
|
|
43
|
-
: place.authority === '
|
|
44
|
-
? (0,
|
|
45
|
-
:
|
|
45
|
+
: place.authority === 'kazakhstan'
|
|
46
|
+
? (0, kazakhstan_js_1.kazakhstanTimes)(place.lat, place.lon, year, month, day)
|
|
47
|
+
: place.authority === 'turkiyetakvimi'
|
|
48
|
+
? (0, turkiyeTakvimi_js_1.takvimTimes)(place.lat, place.lon, year, month, day, place.temkin, asrShadow)
|
|
49
|
+
: (0, indonesia_js_1.kemenagTimes)(place.lat, place.lon, year, month, day, { highland: place.highland, twilightDip: place.twilightDip, asrShadow, afternoon: place.afternoon });
|
|
46
50
|
// the correction list: the authority's few times on the other side of a minute (the standard Asr only)
|
|
47
51
|
const c = !t || !fix ? undefined : fix.correction(place.lat, place.lon, year, month, day);
|
|
48
52
|
if (!t || !c)
|
package/dist/cjs/core/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The shapes the library speaks in. Nothing here computes anything.
|
|
3
3
|
*/
|
|
4
|
-
export type Authority = 'sweden' | 'diyanet' | 'morocco' | 'algeria' | 'indonesia' | 'turkiyetakvimi';
|
|
4
|
+
export type Authority = 'sweden' | 'diyanet' | 'morocco' | 'algeria' | 'indonesia' | 'turkiyetakvimi' | 'kazakhstan';
|
|
5
5
|
export declare const AUTHORITIES: readonly Authority[];
|
|
6
6
|
export type PrayerKey = 'fajr' | 'sunrise' | 'dhuhr' | 'asr' | 'maghrib' | 'isha';
|
|
7
7
|
export declare const PRAYER_KEYS: readonly PrayerKey[];
|
package/dist/cjs/core/types.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.UncertifiedMethodError = exports.PRAYER_KEYS = exports.AUTHORITIES = void 0;
|
|
7
|
-
exports.AUTHORITIES = ['sweden', 'diyanet', 'morocco', 'algeria', 'indonesia', 'turkiyetakvimi'];
|
|
7
|
+
exports.AUTHORITIES = ['sweden', 'diyanet', 'morocco', 'algeria', 'indonesia', 'turkiyetakvimi', 'kazakhstan'];
|
|
8
8
|
exports.PRAYER_KEYS = ['fajr', 'sunrise', 'dhuhr', 'asr', 'maghrib', 'isha'];
|
|
9
9
|
/** The method has not reproduced its authority's tables to the minute (or not for this date). */
|
|
10
10
|
class UncertifiedMethodError extends Error {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const data = { "certified": true, "checkedAt": "2026-11-11", "places": 8318, "checks": [{ "tables": "Diyanet — its tables worldwide", "places": 8318, "times": 71630078, "off": 0, "offWithoutCorrections":
|
|
3
|
+
const data = { "certified": true, "checkedAt": "2026-11-11", "places": 8318, "checks": [{ "tables": "Diyanet — its tables worldwide", "places": 8318, "times": 71630078, "off": 0, "offWithoutCorrections": 9112, "from": "2024-01-01", "to": "2027-12-31" }], "corrections": { "from": "2024-01-01", "to": "2027-12-31", "entries": 9101, "sha256": "3b8fabadcd4f2098984daf5105c4223f526c5046f46748fab200dd990ce4a042" }, "revision": 2 };
|
|
4
4
|
exports.default = data;
|