-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the current year selection in the date picker
- Loading branch information
1 parent
2699bbd
commit 65de817
Showing
6 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
changelog/unreleased/bugfix-date-picker-current-year-selection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Bugfix: Current year selection in the date picker | ||
|
||
We applied a hotpatch to fix the selection of the current year in December in the date picker. | ||
|
||
https://github.com/owncloud/web/pull/8058 | ||
https://github.com/owncloud/web/issues/8042 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,8 @@ | |
"@cucumber/messages": "17.1.1", | ||
"@cucumber/pretty-formatter": "1.0.0", | ||
"@noble/hashes": "1.1.3", | ||
"@ownclouders/design-system": "workspace:*", | ||
"@ownclouders/babel-preset": "workspace:*", | ||
"@ownclouders/design-system": "workspace:*", | ||
"@ownclouders/eslint-config": "workspace:*", | ||
"@ownclouders/prettier-config": "workspace:*", | ||
"@ownclouders/tsconfig": "workspace:*", | ||
|
@@ -125,5 +125,10 @@ | |
"packageManager": "[email protected]", | ||
"volta": { | ||
"node": "16.18.1" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/lib/components/date-picker.umd.js b/lib/components/date-picker.umd.js | ||
index 571ada2a0d82ed79833600b75eca9a5ec670660f..124df53b7b8fe976c5afcc4588783b3c626cd8e2 100644 | ||
--- a/lib/components/date-picker.umd.js | ||
+++ b/lib/components/date-picker.umd.js | ||
@@ -17351,7 +17351,7 @@ const _yearGroupCount = 12; | ||
for (let year = startYear; year < endYear; year += 1) { | ||
let enabled = false; | ||
|
||
- for (let month = 1; month < 12; month++) { | ||
+ for (let month = 1; month <= 12; month++) { | ||
enabled = this.validator({ | ||
month, | ||
year |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.