Skip to content

Commit

Permalink
Include Hebrew Date in the classic REST API responses
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed May 9, 2022
1 parent a0b7c52 commit aba0f7f
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 57 deletions.
108 changes: 54 additions & 54 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/rest-api",
"version": "3.14.1",
"version": "3.15.0",
"author": "Michael J. Radwin (https://github.com/mjradwin)",
"keywords": [
"hebcal"
Expand Down Expand Up @@ -52,11 +52,11 @@
"@rollup/plugin-node-resolve": "^13.3.0",
"ava": "^4.2.0",
"core-js": "^3.22.4",
"eslint": "^8.14.0",
"eslint": "^8.15.0",
"eslint-config-google": "^0.14.0",
"jsdoc": "^3.6.10",
"jsdoc-to-markdown": "^7.1.1",
"rollup": "^2.72.0",
"rollup": "^2.72.1",
"rollup-plugin-terser": "^7.0.2"
}
}
1 change: 1 addition & 0 deletions src/classic-rest-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export function eventToClassicApiObject(ev, options, leyning=true) {
const result = {
title: title,
date: date,
hdate: hd.toString(),
category: categories[0],
};
if (categories.length > 1) {
Expand Down
Loading

0 comments on commit aba0f7f

Please sign in to comment.