@northlight/ui 2.33.3 → 2.33.4
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/dist/es/northlight.js
CHANGED
|
@@ -7170,7 +7170,7 @@ const getQuickSelectOptions = (state, locale, fiscalStartMonth, fiscalStartDay)
|
|
|
7170
7170
|
},
|
|
7171
7171
|
label: "Next Year"
|
|
7172
7172
|
};
|
|
7173
|
-
const offsetFiscalYear = thisDay.month < fiscalStartMonth || thisDay.month === fiscalStartMonth && thisDay.day < fiscalStartDay ? 1 : 0;
|
|
7173
|
+
const offsetFiscalYear = thisDay.month < fiscalStartMonth + 1 || thisDay.month === fiscalStartMonth + 1 && thisDay.day < fiscalStartDay ? 1 : 0;
|
|
7174
7174
|
const thisFiscalYear = {
|
|
7175
7175
|
value: {
|
|
7176
7176
|
start: startOfMonthWithDays(
|