jcal-zmanim 1.5.5 → 1.5.6

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/dist/index.cjs CHANGED
@@ -13194,8 +13194,9 @@ var Molad = /*#__PURE__*/ function() {
13194
13194
  partsElapsed = 204 + 793 * (totalMonths % 1080);
13195
13195
  hoursElapsed = 5 + 12 * totalMonths + 793 * Utils.toInt(totalMonths / 1080) + Utils.toInt(partsElapsed / 1080) - 6;
13196
13196
  parts = Utils.toInt(partsElapsed % 1080 + 1080 * (hoursElapsed % 24));
13197
+ var absoluteDays = 1 + 29 * Utils.toInt(totalMonths) + Utils.toInt(hoursElapsed / 24) - 1373429;
13197
13198
  return {
13198
- jDate: new jDate(1 + 29 * Utils.toInt(totalMonths) + Utils.toInt(hoursElapsed / 24)),
13199
+ jDate: new jDate(Math.floor(absoluteDays)),
13199
13200
  time: {
13200
13201
  hour: Utils.toInt(hoursElapsed) % 24,
13201
13202
  minute: Utils.toInt(parts % 1080 / 18),