Skip to content

Commit

Permalink
Build the Pasoonate and change version to 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ataiemajid63 committed Feb 20, 2024
1 parent f0caf1c commit bd6478a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions browser/pasoonate.js
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,8 @@ class ShiaCalendar extends Calendar {
1442: [29, 29, 30, 29, 30, 29, 30, 30, 29, 30, 30, 29],
1443: [29, 30, 30, 29, 29, 30, 29, 29, 30, 29, 30, 30],
1444: [30, 30, 29, 30, 29, 29, 30, 29, 30, 29, 30, 29],
1445: [30, 30, 30, 29, 30, 29, 29, 30, 30, 29, 29, 30]
1445: [30, 30, 30, 29, 30, 29, 29, 30, 29, 30, 29, 29],
1446: [30, 30, 30, 29, 30, 30, 29, 30, 29, 30, 29, 29]
};

if (month < 1 || month > 12) {
Expand All @@ -1271,7 +1272,8 @@ class ShiaCalendar extends Calendar {
1442: 2459082.5,
1443: 2459436.5,
1444: 2459790.5,
1445: 2460144.5
1445: 2460144.5,
1446: 2460498.5
};

if(julianDays[year] !== undefined) {
Expand Down
2 changes: 1 addition & 1 deletion browser/pasoonate.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/calendar/ShiaCalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ var ShiaCalendar = /*#__PURE__*/function (_Calendar) {
1442: [29, 29, 30, 29, 30, 29, 30, 30, 29, 30, 30, 29],
1443: [29, 30, 30, 29, 29, 30, 29, 29, 30, 29, 30, 30],
1444: [30, 30, 29, 30, 29, 29, 30, 29, 30, 29, 30, 29],
1445: [30, 30, 30, 29, 30, 29, 29, 30, 30, 29, 29, 30]
1445: [30, 30, 30, 29, 30, 29, 29, 30, 29, 30, 29, 29],
1446: [30, 30, 30, 29, 30, 30, 29, 30, 29, 30, 29, 29]
};

if (month < 1 || month > 12) {
Expand All @@ -168,7 +169,8 @@ var ShiaCalendar = /*#__PURE__*/function (_Calendar) {
1442: 2459082.5,
1443: 2459436.5,
1444: 2459790.5,
1445: 2460144.5
1445: 2460144.5,
1446: 2460498.5
};

if (julianDays[year] !== undefined) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pasoonate",
"version": "1.2.5",
"version": "1.2.6",
"description": "DateTime helpers and convert to calendars.",
"main": "dist/Pasoonate.js",
"directories": {
Expand Down

0 comments on commit bd6478a

Please sign in to comment.