Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Removed non-gregorian calendars. API is not supported, so data might …
Browse files Browse the repository at this point in the history
…be excluded as well. Tests seems to work fine without.
  • Loading branch information
swernerx committed Sep 8, 2016
1 parent 6851426 commit 6a1ab87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
11 changes: 0 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,6 @@
"babel-preset-es2015": "6.1.18",
"babel-preset-es2015-rollup": "1.1.1",
"babel-register": "^6.2.0",
"cldr-cal-buddhist-full": "28.0.0",
"cldr-cal-chinese-full": "28.0.0",
"cldr-cal-coptic-full": "28.0.0",
"cldr-cal-dangi-full": "28.0.0",
"cldr-cal-ethiopic-full": "28.0.0",
"cldr-cal-hebrew-full": "28.0.0",
"cldr-cal-indian-full": "28.0.0",
"cldr-cal-islamic-full": "28.0.0",
"cldr-cal-japanese-full": "28.0.0",
"cldr-cal-persian-full": "28.0.0",
"cldr-cal-roc-full": "28.0.0",
"cldr-core": "28.0.0",
"cldr-dates-full": "28.0.0",
"cldr-numbers-full": "28.0.0",
Expand Down
13 changes: 1 addition & 12 deletions scripts/utils/extract-calendars.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,7 @@ export default function extractCalendars(locales) {
function loadCalendars(locale) {
// all NPM packages providing calendars specific data
let pkgs = [
"cldr-dates-full",
"cldr-cal-buddhist-full",
"cldr-cal-chinese-full",
"cldr-cal-coptic-full",
"cldr-cal-dangi-full",
"cldr-cal-ethiopic-full",
"cldr-cal-hebrew-full",
"cldr-cal-indian-full",
"cldr-cal-islamic-full",
"cldr-cal-japanese-full",
"cldr-cal-persian-full",
"cldr-cal-roc-full"
"cldr-dates-full"
];
// walking all packages, selecting calendar files, then
// reading the content of each calendar, and concatenating the set
Expand Down

0 comments on commit 6a1ab87

Please sign in to comment.