We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c21e216 commit 757b5a2Copy full SHA for 757b5a2
packages/snaps-rpc-methods/src/permitted/scheduleBackgroundEvent.ts
@@ -56,7 +56,7 @@ export const scheduleBackgroundEventHandler: PermittedHandlerExport<
56
57
const ScheduleBackgroundEventsParametersStruct = object({
58
date: refine(string(), 'date', (val) => {
59
- const date = DateTime.fromISO(val, { setZone: true });
+ const date = DateTime.fromISO(val);
60
if (date.isValid) {
61
// luxon doesn't have a reliable way to check if timezone info was not provided
62
const count = val.split('').filter((char) => char === '-').length;
0 commit comments