Skip to content

Commit 757b5a2

Browse files
committed
remove unncecessary option
1 parent c21e216 commit 757b5a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/snaps-rpc-methods/src/permitted/scheduleBackgroundEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const scheduleBackgroundEventHandler: PermittedHandlerExport<
5656

5757
const ScheduleBackgroundEventsParametersStruct = object({
5858
date: refine(string(), 'date', (val) => {
59-
const date = DateTime.fromISO(val, { setZone: true });
59+
const date = DateTime.fromISO(val);
6060
if (date.isValid) {
6161
// luxon doesn't have a reliable way to check if timezone info was not provided
6262
const count = val.split('').filter((char) => char === '-').length;

0 commit comments

Comments
 (0)