Skip to content

Commit

Permalink
Remove unused greg.monthNames
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Dec 18, 2023
1 parent 2b550cc commit fe8ef37
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 39 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,6 @@ and vowels (nekudot).</p>
Gregorian date helper functions.

**Kind**: global variable
<a name="greg.monthNames"></a>

### greg.monthNames : <code>Array.&lt;string&gt;</code>
Long names of the Gregorian months (1='January', 12='December')

**Kind**: static property of [<code>greg</code>](#greg)
**Read only**: true
<a name="months"></a>

## months : <code>enum</code>
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/hdate",
"version": "0.9.0",
"version": "0.9.1",
"description": "sunrise and sunset via NOAA algorithm with elevation, based on KosherJava",
"author": "Michael J. Radwin (https://github.com/mjradwin)",
"contributors": [
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@types/node": "20.10.4",
"@types/node": "20.10.5",
"ava": "^6.0.1",
"gts": "^5.2.0",
"typescript": "^5.3.3"
Expand Down
21 changes: 0 additions & 21 deletions src/greg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,6 @@ const ABS_2SEP1752 = 639785;
* Gregorian date helper functions.
*/
export namespace greg {
/**
* Long names of the Gregorian months (1='January', 12='December')
* @readonly
* @type {string[]}
*/
export const monthNames: string[] = [
'',
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December',
];

/**
* Returns true if the Gregorian year is a leap year
* @param {number} year Gregorian year
Expand Down

0 comments on commit fe8ef37

Please sign in to comment.