diff --git a/src/periodical.js b/src/periodical.js index 8f94373..5d45797 100644 --- a/src/periodical.js +++ b/src/periodical.js @@ -122,7 +122,7 @@ export const PeriodicalJSONType = struct({ title: NonEmptyStringType, saving: BooleanType, amount: IntegerType, - startsAt: MaybeDateType, + startsAt: MaybeStringType, estimate: BooleanType, enabledIn01: BooleanType, enabledIn02: BooleanType, diff --git a/src/spending.js b/src/spending.js index 117a542..42b4f3a 100644 --- a/src/spending.js +++ b/src/spending.js @@ -72,7 +72,7 @@ export const SpendingJSONType = struct({ category: NonEmptyStringType, title: NonEmptyStringType, booked: BooleanType, - bookedAt: MaybeDateType, + bookedAt: MaybeStringType, saving: BooleanType, amount: IntegerType }, 'SpendingJSONType')