jewish-date 1.0.3 → 1.0.5

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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -25,7 +25,10 @@ import {
25
25
 
26
26
  const date = new Date("2020-01-01");
27
27
  const jewishDate = toJewishDate(date);
28
- console.log(jewishDate); // { year: 5780, monthName: "Tevet", day: 4 }
28
+ console.log(jewishDate); // { year: 5780, monthName: "Tevet", month: 4, day: 4 }
29
+
30
+ const jewishDateInEnglish = formatJewishDate(jewishDate);
31
+ console.log(jewishDateInEnglish); // 4 Tevet 5780
29
32
 
30
33
  const jewishDateInHebrew = toHebrewJewishDate(jewishDate);
31
34
  console.log(jewishDateInHebrew); // { day: "ד׳", monthName: "טבת", year: "התש״פ" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jewish-date",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "lib/index.d.ts",