Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>10.0.1</Version>
</PropertyGroup>

<PropertyGroup>
<PackageTags>Bootstrap Blazor WebAssembly wasm UI Components Holidays</PackageTags>
<Description>Bootstrap UI components extensions of ICalendarHolidays</Description>
Expand Down
67 changes: 67 additions & 0 deletions src/components/BootstrapBlazor.Holiday/Data/2026.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[
{
"name": "元旦",
"range": [ "2026-01-01", "2026-01-03" ],
"type": "holiday"
},
{
"name": "元旦",
"range": [ "2026-01-04" ],
"type": "workingday"
},
{
"name": "春节",
"range": [ "2026-02-14" ],
"type": "workingday"
},
{
"name": "春节",
"range": [ "2026-02-15", "2026-02-23" ],
"type": "holiday"
},
{
"name": "春节",
"range": [ "2026-02-28" ],
"type": "workingday"
},
{
"name": "清明节",
"range": [ "2026-04-04", "2026-04-06" ],
"type": "holiday"
},
{
"name": "劳动节",
"range": [ "2026-05-01", "2026-05-05" ],
"type": "holiday"
},
{
"name": "劳动节",
"range": [ "2026-05-09" ],
"type": "workingday"
},
{
"name": "端午节",
"range": [ "2026-06-19", "2026-06-21" ],
"type": "holiday"
},
{
"name": "中秋节",
"range": [ "2026-09-20" ],
"type": "workingday"
},
{
"name": "中秋节",
"range": [ "2026-09-25", "2026-09-27" ],
"type": "holiday"
},
{
"name": "国庆节",
"range": [ "2026-10-01", "2026-10-07" ],
"type": "holiday"
},
{
"name": "国庆节",
"range": [ "2026-10-10" ],
Comment on lines +4 to +64
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The array formatting in the "range" fields is inconsistent with the existing data files. All other year files (2016-2025) use compact array notation without spaces, e.g., ["2025-01-01", "2025-01-03"], but this file uses spaces inside the brackets, e.g., [ "2026-01-01", "2026-01-03" ].

For consistency with the established codebase convention, remove the spaces after the opening bracket and before the closing bracket in all "range" arrays throughout this file.

Suggested change
"range": [ "2026-01-01", "2026-01-03" ],
"type": "holiday"
},
{
"name": "元旦",
"range": [ "2026-01-04" ],
"type": "workingday"
},
{
"name": "春节",
"range": [ "2026-02-14" ],
"type": "workingday"
},
{
"name": "春节",
"range": [ "2026-02-15", "2026-02-23" ],
"type": "holiday"
},
{
"name": "春节",
"range": [ "2026-02-28" ],
"type": "workingday"
},
{
"name": "清明节",
"range": [ "2026-04-04", "2026-04-06" ],
"type": "holiday"
},
{
"name": "劳动节",
"range": [ "2026-05-01", "2026-05-05" ],
"type": "holiday"
},
{
"name": "劳动节",
"range": [ "2026-05-09" ],
"type": "workingday"
},
{
"name": "端午节",
"range": [ "2026-06-19", "2026-06-21" ],
"type": "holiday"
},
{
"name": "中秋节",
"range": [ "2026-09-20" ],
"type": "workingday"
},
{
"name": "中秋节",
"range": [ "2026-09-25", "2026-09-27" ],
"type": "holiday"
},
{
"name": "国庆节",
"range": [ "2026-10-01", "2026-10-07" ],
"type": "holiday"
},
{
"name": "国庆节",
"range": [ "2026-10-10" ],
"range": ["2026-01-01", "2026-01-03"],
"type": "holiday"
},
{
"name": "元旦",
"range": ["2026-01-04"],
"type": "workingday"
},
{
"name": "春节",
"range": ["2026-02-14"],
"type": "workingday"
},
{
"name": "春节",
"range": ["2026-02-15", "2026-02-23"],
"type": "holiday"
},
{
"name": "春节",
"range": ["2026-02-28"],
"type": "workingday"
},
{
"name": "清明节",
"range": ["2026-04-04", "2026-04-06"],
"type": "holiday"
},
{
"name": "劳动节",
"range": ["2026-05-01", "2026-05-05"],
"type": "holiday"
},
{
"name": "劳动节",
"range": ["2026-05-09"],
"type": "workingday"
},
{
"name": "端午节",
"range": ["2026-06-19", "2026-06-21"],
"type": "holiday"
},
{
"name": "中秋节",
"range": ["2026-09-20"],
"type": "workingday"
},
{
"name": "中秋节",
"range": ["2026-09-25", "2026-09-27"],
"type": "holiday"
},
{
"name": "国庆节",
"range": ["2026-10-01", "2026-10-07"],
"type": "holiday"
},
{
"name": "国庆节",
"range": ["2026-10-10"],

Copilot uses AI. Check for mistakes.
"type": "workingday"
}
]