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.js CHANGED
@@ -13078,8 +13078,9 @@ var Molad = /*#__PURE__*/ function() {
13078
13078
  partsElapsed = 204 + 793 * (totalMonths % 1080);
13079
13079
  hoursElapsed = 5 + 12 * totalMonths + 793 * Utils.toInt(totalMonths / 1080) + Utils.toInt(partsElapsed / 1080) - 6;
13080
13080
  parts = Utils.toInt(partsElapsed % 1080 + 1080 * (hoursElapsed % 24));
13081
+ var absoluteDays = 1 + 29 * Utils.toInt(totalMonths) + Utils.toInt(hoursElapsed / 24) - 1373429;
13081
13082
  return {
13082
- jDate: new jDate(1 + 29 * Utils.toInt(totalMonths) + Utils.toInt(hoursElapsed / 24)),
13083
+ jDate: new jDate(Math.floor(absoluteDays)),
13083
13084
  time: {
13084
13085
  hour: Utils.toInt(hoursElapsed) % 24,
13085
13086
  minute: Utils.toInt(parts % 1080 / 18),