@appcorp/fusion-storybook 0.2.96 → 0.2.97

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.
@@ -34,7 +34,10 @@ const studentFeeConfig = {
34
34
  amountPaid: 0,
35
35
  discountAmount: 0,
36
36
  discountCodeId: null,
37
- dueDate: new Date().toISOString().slice(0, 10),
37
+ dueDate: (() => {
38
+ const d = new Date();
39
+ return `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")}`;
40
+ })(),
38
41
  enabled: true,
39
42
  familyId: "",
40
43
  feeStructureId: "",
@@ -123,7 +123,7 @@ export const useStudentFeeModule = () => {
123
123
  amountPaid: 0,
124
124
  discountAmount: 0,
125
125
  discountCodeId: null,
126
- dueDate: dueDate.toISOString().slice(0, 10),
126
+ dueDate: `${dueDate.getFullYear()}-${String(dueDate.getMonth() + 1).padStart(2, "0")}-${String(dueDate.getDate()).padStart(2, "0")}`,
127
127
  enabled: true,
128
128
  familyId: "",
129
129
  feeStructureId: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/fusion-storybook",
3
- "version": "0.2.96",
3
+ "version": "0.2.97",
4
4
  "scripts": {
5
5
  "build-storybook": "storybook build",
6
6
  "build:next": "next build",