bizdays-toolkit 0.21.0 → 0.21.1

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.21.1] - 2026-10-26
8
+
9
+ ### Data
10
+
11
+ - 英国の臨時の祝日のうち固有の名称が公式の文書にない 2 日の `name` を、政府の答弁が述べた理由を括弧で添えた形にした: 1995-05-08(Scotland)"Additional bank holiday" → "Additional bank holiday (VE Day 50th anniversary)"、1999-12-31(全地域)"Additional bank holiday" → "Additional bank holiday (Millennium)"。括弧で理由を添える形は GOV.UK の 2020 年 "Early May bank holiday (VE day)" と同じ。日付・種別・`key` は変わらない(decisions.md の 49 番、`docs/sources/uk-bank-holidays-1974-1999.md` の第 5 節)
12
+
13
+ ### Changed
14
+
15
+ - README: Data sources の英国の段落に `docs/sources/uk-bank-holidays-1974-1999.md` へのリンクを足した(0.21.0 では 2000〜2011 年の記録だけを指していた)
16
+
7
17
  ## [0.21.0] - 2026-10-25
8
18
 
9
19
  ### 移行
@@ -565,7 +575,8 @@
565
575
 
566
576
  - 日本: 2026 年 2 月の官報(2027 年の春分・秋分の日)まで反映(`dataVersion: "2026-02"`、`confirmedThrough: 2027`)
567
577
 
568
- [Unreleased]: https://github.com/inohan77/bizdays-toolkit/compare/v0.21.0...HEAD
578
+ [Unreleased]: https://github.com/inohan77/bizdays-toolkit/compare/v0.21.1...HEAD
579
+ [0.21.1]: https://github.com/inohan77/bizdays-toolkit/compare/v0.21.0...v0.21.1
569
580
  [0.21.0]: https://github.com/inohan77/bizdays-toolkit/compare/v0.20.0...v0.21.0
570
581
  [0.20.0]: https://github.com/inohan77/bizdays-toolkit/compare/v0.19.0...v0.20.0
571
582
  [0.19.0]: https://github.com/inohan77/bizdays-toolkit/compare/v0.18.0...v0.19.0
package/README.md CHANGED
@@ -141,7 +141,7 @@ Japanese holidays are verified with the "National Holidays" CSV published on the
141
141
 
142
142
  UK bank holidays are verified with the GOV.UK bank holidays data (<https://www.gov.uk/bank-holidays.json>, and for earlier years the history of the official GOV.UK repositories [alphagov/calendars](https://github.com/alphagov/calendars) and [alphagov/frontend](https://github.com/alphagov/frontend)), and the Welsh names of the Wales holidays with the Welsh version of GOV.UK (the verification data is a test fixture only; not included in the package).
143
143
 
144
- For 2000–2011, which predate GOV.UK's data, the authority is the bank holiday lists the government published at the time (DTI and BERR, directgov, the Scottish Executive and Government, nidirect; captured by the Wayback Machine), checked against the Royal Proclamations and Northern Ireland Orders in The Gazette (<https://www.thegazette.co.uk/>); for 1974–1999 the proclamations are the authority. Thirteen days in 1975–1990 are returned by rule but could not be checked because the issues of The Gazette that carry them are not online (listed as `unverified` in the test fixture, with the reasons). The sources are listed in [docs/sources/uk-bank-holidays-2000-2011.md](https://github.com/inohan77/bizdays-toolkit/blob/main/docs/sources/uk-bank-holidays-2000-2011.md) (test fixture only; not included in the package).
144
+ For 2000–2011, which predate GOV.UK's data, the authority is the bank holiday lists the government published at the time (DTI and BERR, directgov, the Scottish Executive and Government, nidirect; captured by the Wayback Machine), checked against the Royal Proclamations and Northern Ireland Orders in The Gazette (<https://www.thegazette.co.uk/>); for 1974–1999 the proclamations are the authority. Thirteen days in 1975–1990 are returned by rule but could not be checked because the issues of The Gazette that carry them are not online (listed as `unverified` in the test fixture, with the reasons). The sources are listed in [docs/sources/uk-bank-holidays-1974-1999.md](https://github.com/inohan77/bizdays-toolkit/blob/main/docs/sources/uk-bank-holidays-1974-1999.md) and [docs/sources/uk-bank-holidays-2000-2011.md](https://github.com/inohan77/bizdays-toolkit/blob/main/docs/sources/uk-bank-holidays-2000-2011.md) (test fixture only; not included in the package).
145
145
 
146
146
  French public holidays are verified with the "Jours fériés en France" dataset published by DINUM on data.gouv.fr (<https://www.data.gouv.fr/datasets/jours-feries-en-france>, JSON exports for the Métropole and Alsace-Moselle zones; the verification data is a test fixture only; not included in the package).
147
147
 
package/dist/uk/rules.js CHANGED
@@ -57,7 +57,8 @@ const MOVED = [
57
57
  /** 布告による臨時の祝日 */
58
58
  const SPECIAL_DAYS = [
59
59
  // 臨時の祝日の名称は布告にはなく(布告は日付だけを指定する)、政府の答弁の呼び方による。固有の呼び方が公式の文書にない日は
60
- // 中立の "Additional bank holiday"(docs/sources/uk-bank-holidays-1974-1999.md の名称の節)
60
+ // 中立の "Additional bank holiday" に、政府の答弁が述べた理由を括弧で添える(GOV.UK の 2020 年 "Early May bank holiday (VE day)" と同じ形。
61
+ // docs/sources/uk-bank-holidays-1974-1999.md の名称の節)
61
62
  // 1977 年の Silver Jubilee: England・Wales・NI は 6 月 7 日を追加(Spring は 6 月 6 日に移動)。Scotland は 6 月 6 日だけを追加。
62
63
  // 名称は Hansard 1975-12-18 の公式プログラム "Tuesday 7th (Silver Jubilee Bank Holiday)" と 1977-01-19 "a special Silver Jubilee Bank Holiday"、
63
64
  // Scotland は 1976-06-28 "a Jubilee holiday in Scotland"
@@ -66,11 +67,16 @@ const SPECIAL_DAYS = [
66
67
  // 名称は The London Gazette 48690(1981-07-27)の告示の見出し "ROYAL WEDDING BANK HOLIDAY" と Hansard 1981-07-30 の答弁 "the public holiday on 29 July for the Royal Wedding"
67
68
  { date: "1981-07-29", name: "Royal Wedding bank holiday", divisions: ALL },
68
69
  // 1995 年の VE Day 50 周年: England・Wales・NI は Early May を 5 月 8 日に移動、Scotland は 5 月 1 日(附則)に加えて 8 日を追加。
69
- // 政府は Scotland の分を "an additional day's bank holiday" とだけ呼び(Hansard 1993-12-16・1995-03-02)、固有の名称はない
70
- { date: "1995-05-08", name: "Additional bank holiday", divisions: SCOTLAND },
70
+ // 政府は Scotland の分を "an additional day's bank holiday" とだけ呼び(Hansard 1993-12-16・1995-03-02)、固有の名称はない。
71
+ // 括弧は Hansard 1993-12-16 の理由 "commemorating the 50th anniversary of the ending of the second world war" による
72
+ {
73
+ date: "1995-05-08",
74
+ name: "Additional bank holiday (VE Day 50th anniversary)",
75
+ divisions: SCOTLAND,
76
+ },
71
77
  // 政府は "a one-off additional Bank Holiday throughout the United Kingdom on Friday, 31 December 1999" と呼び(Hansard 1998-06-03)、
72
- // "Millennium" は質問と Hansard の見出しにあるだけで固有の名称はない
73
- { date: "1999-12-31", name: "Additional bank holiday", divisions: ALL },
78
+ // 固有の名称はない。括弧は同じ答弁の "the year 2000 will be heralded by" と質問の "to mark the Millennium" による
79
+ { date: "1999-12-31", name: "Additional bank holiday (Millennium)", divisions: ALL },
74
80
  { date: "2002-06-03", name: "Golden Jubilee bank holiday", divisions: ALL },
75
81
  { date: "2011-04-29", name: "Royal Wedding bank holiday", divisions: ALL },
76
82
  { date: "2012-06-05", name: "Queen’s Diamond Jubilee", divisions: ALL },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bizdays-toolkit",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "Holidays, business-day calendar and day-by-day schedules (e.g. store hours) with time zone support. Japanese holidays verified against the Cabinet Office data; UK bank holidays (England, Wales, Scotland, Northern Ireland) verified against GOV.UK and The Gazette; French public holidays (metropole, Alsace-Moselle) verified against data.gouv.fr; Singapore public holidays verified against data.gov.sg. / 祝日と営業日のカレンダー(タイムゾーン対応・日本の祝日は内閣府、英国の bank holidays は GOV.UK と The Gazette、フランスの祝日は data.gouv.fr、シンガポールの祝日は data.gov.sg のデータで全日照合)",
5
5
  "keywords": [
6
6
  "bank-holidays",