Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISO 8601 weeks numbering option #81

Merged
merged 3 commits into from
Feb 10, 2021
Merged
Show file tree
Hide file tree
Changes from 2 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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2.3.0
* A new option group "Weeks Determination Standards" containing a list of two items where the first one enables US weeks numbering (default) and the second one enables ISO 8601 weeks numbering

## 2.2.0
* API was updated to 3.2.0
* Packages update
Expand Down
81 changes: 57 additions & 24 deletions capabilities.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,33 @@
{
"dataRoles": [{
"name": "Time",
"kind": "Grouping",
"displayName": "Time",
"displayNameKey": "Role_Time"
}],
"dataViewMappings": [{
"conditions": [{
"Time": {
"max": 1
}
}],
"categorical": {
"categories": {
"for": {
"in": "Time"
},
"dataReductionAlgorithm": {
"sample": {}
"dataRoles": [
{
"name": "Time",
"kind": "Grouping",
"displayName": "Time",
"displayNameKey": "Role_Time"
}
],
"dataViewMappings": [
{
"conditions": [
{
"Time": {
"max": 1
}
}
],
"categorical": {
"categories": {
"for": {
"in": "Time"
},
"dataReductionAlgorithm": {
"sample": {}
}
}
}
}
}],
],
"objects": {
"general": {
"displayName": "General",
Expand Down Expand Up @@ -59,6 +65,30 @@
}
}
},
"weeksDetermintaionStandards": {
"displayName": "Weeks Determination Standards",
"displayNameKey": "Visual_Weeks_Determination_Standards",
"properties": {
"weekStandard": {
"displayName": "Standard",
"displayNameKey": "Visual_Week_Standard",
"type": {
"enumeration": [
{
"value": "0",
"displayName": "-- none --",
"displayNameKey": "Visual_Week_Standard_None"
},
{
"value": "1",
"displayName": "ISO 8601",
"displayNameKey": "Visual_Week_Standard_ISO8601"
}
]
}
}
}
},
"calendar": {
"displayName": "Fiscal Year",
"displayNameKey": "Visual_FiscalYear",
Expand All @@ -67,7 +97,8 @@
"displayName": "Month",
"displayNameKey": "Visual_Month",
"type": {
"enumeration": [{
"enumeration": [
{
"value": "0",
"displayName": "January",
"displayNameKey": "Visual_Month_January"
Expand Down Expand Up @@ -154,7 +185,8 @@
"displayName": "Day",
"displayNameKey": "Visual_Day",
"type": {
"enumeration": [{
"enumeration": [
{
"value": "0",
"displayName": "Sunday",
"displayNameKey": "Visual_Day_Sunday"
Expand Down Expand Up @@ -292,7 +324,8 @@
"displayName": "Granularity",
"displayNameKey": "Visual_Granularity",
"type": {
"enumeration": [{
"enumeration": [
{
"value": "0",
"displayName": "Year",
"displayNameKey": "Visual_Granularity_Year"
Expand Down Expand Up @@ -412,4 +445,4 @@
},
"supportsHighlight": true,
"supportsSynchronizingFilterState": true
}
}
Loading