@hebcal/core 3.42.3 → 3.44.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 +12 -10
- package/dist/bundle.js +688 -291
- package/dist/bundle.min.js +2 -2
- package/dist/foo.html +10 -0
- package/dist/greg0.mjs +1 -1
- package/dist/hdate-bundle.js +2 -2
- package/dist/hdate-bundle.min.js +2 -2
- package/dist/hdate.js +2 -2
- package/dist/hdate.mjs +2 -2
- package/dist/hdate0-bundle.js +1 -1
- package/dist/hdate0-bundle.min.js +1 -1
- package/dist/hdate0.mjs +1 -1
- package/dist/index.js +486 -189
- package/dist/index.mjs +486 -189
- package/hebcal.d.ts +4 -2
- package/package.json +10 -9
- package/po/ashkenazi.po +279 -0
- package/po/he.min.po +50 -0
- package/po/he.po +1110 -0
package/README.md
CHANGED
|
@@ -1150,8 +1150,8 @@ Class representing halachic times
|
|
|
1150
1150
|
* [.tzeit([angle])](#Zmanim+tzeit) ⇒ <code>Date</code>
|
|
1151
1151
|
* [.neitzHaChama()](#Zmanim+neitzHaChama) ⇒ <code>Date</code>
|
|
1152
1152
|
* [.shkiah()](#Zmanim+shkiah) ⇒ <code>Date</code>
|
|
1153
|
-
* [.sunriseOffset(offset)](#Zmanim+sunriseOffset) ⇒ <code>Date</code>
|
|
1154
|
-
* [.sunsetOffset(offset)](#Zmanim+sunsetOffset) ⇒ <code>Date</code>
|
|
1153
|
+
* [.sunriseOffset(offset, roundMinute)](#Zmanim+sunriseOffset) ⇒ <code>Date</code>
|
|
1154
|
+
* [.sunsetOffset(offset, roundMinute)](#Zmanim+sunsetOffset) ⇒ <code>Date</code>
|
|
1155
1155
|
* ~~[.sunsetOffsetTime(offset, timeFormat)](#Zmanim+sunsetOffsetTime) ⇒ <code>Array.<Object></code>~~
|
|
1156
1156
|
* ~~[.tzeitTime(angle, timeFormat)](#Zmanim+tzeitTime) ⇒ <code>Array.<Object></code>~~
|
|
1157
1157
|
* _static_
|
|
@@ -1326,25 +1326,27 @@ Alias for sunset
|
|
|
1326
1326
|
**Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
|
|
1327
1327
|
<a name="Zmanim+sunriseOffset"></a>
|
|
1328
1328
|
|
|
1329
|
-
### zmanim.sunriseOffset(offset) ⇒ <code>Date</code>
|
|
1329
|
+
### zmanim.sunriseOffset(offset, roundMinute) ⇒ <code>Date</code>
|
|
1330
1330
|
Returns sunrise + `offset` minutes (either positive or negative).
|
|
1331
1331
|
|
|
1332
1332
|
**Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
|
|
1333
1333
|
|
|
1334
|
-
| Param | Type | Description |
|
|
1335
|
-
| --- | --- | --- |
|
|
1336
|
-
| offset | <code>number</code> | minutes |
|
|
1334
|
+
| Param | Type | Default | Description |
|
|
1335
|
+
| --- | --- | --- | --- |
|
|
1336
|
+
| offset | <code>number</code> | | minutes |
|
|
1337
|
+
| roundMinute | <code>boolean</code> | <code>true</code> | round time to nearest minute (default true) |
|
|
1337
1338
|
|
|
1338
1339
|
<a name="Zmanim+sunsetOffset"></a>
|
|
1339
1340
|
|
|
1340
|
-
### zmanim.sunsetOffset(offset) ⇒ <code>Date</code>
|
|
1341
|
+
### zmanim.sunsetOffset(offset, roundMinute) ⇒ <code>Date</code>
|
|
1341
1342
|
Returns sunset + `offset` minutes (either positive or negative).
|
|
1342
1343
|
|
|
1343
1344
|
**Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
|
|
1344
1345
|
|
|
1345
|
-
| Param | Type | Description |
|
|
1346
|
-
| --- | --- | --- |
|
|
1347
|
-
| offset | <code>number</code> | minutes |
|
|
1346
|
+
| Param | Type | Default | Description |
|
|
1347
|
+
| --- | --- | --- | --- |
|
|
1348
|
+
| offset | <code>number</code> | | minutes |
|
|
1349
|
+
| roundMinute | <code>boolean</code> | <code>true</code> | round time to nearest minute (default true) |
|
|
1348
1350
|
|
|
1349
1351
|
<a name="Zmanim+sunsetOffsetTime"></a>
|
|
1350
1352
|
|