From b53e76f5133075fa2bb02980c318f57000411373 Mon Sep 17 00:00:00 2001 From: dkirchhof Date: Mon, 20 Feb 2023 18:42:35 +0100 Subject: [PATCH] fix: remove Date.setDay and Date.setUTCDay as these functions doesn't exist --- src/Core__Date.res | 2 -- src/Core__Date.resi | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/Core__Date.res b/src/Core__Date.res index 808fc48c..cde07732 100644 --- a/src/Core__Date.res +++ b/src/Core__Date.res @@ -115,7 +115,6 @@ external setMinutesSMs: (t, ~minutes: int, ~seconds: int, ~milliseconds: int) => @send external setSeconds: (t, int) => unit = "setSeconds" @send external setSecondsMs: (t, ~seconds: int, ~milliseconds: int) => unit = "setSeconds" @send external setMilliseconds: (t, int) => unit = "setMilliseconds" -@send external setDay: (t, int) => unit = "setDay" // UTC @send external getUTCFullYear: t => int = "getUTCFullYear" @@ -153,7 +152,6 @@ external setUTCMinutesSMs: (t, ~minutes: int, ~seconds: int, ~milliseconds: int) @send external setUTCSeconds: (t, int) => unit = "setUTCSeconds" @send external setUTCSecondsMs: (t, ~seconds: int, ~milliseconds: int) => unit = "setUTCSeconds" @send external setUTCMilliseconds: (t, int) => unit = "setUTCMilliseconds" -@send external setUTCDay: (t, int) => unit = "setUTCDay" @send external toDateString: t => string = "toDateString" @send external toString: t => string = "toString" diff --git a/src/Core__Date.resi b/src/Core__Date.resi index 5b3eab9a..6c0e2945 100644 --- a/src/Core__Date.resi +++ b/src/Core__Date.resi @@ -126,7 +126,6 @@ external setMinutesSMs: (t, ~minutes: int, ~seconds: int, ~milliseconds: int) => @send external setSeconds: (t, int) => unit = "setSeconds" @send external setSecondsMs: (t, ~seconds: int, ~milliseconds: int) => unit = "setSeconds" @send external setMilliseconds: (t, int) => unit = "setMilliseconds" -@send external setDay: (t, int) => unit = "setDay" @send external getUTCFullYear: t => int = "getUTCFullYear" @send external getUTCMonth: t => int = "getUTCMonth" @send external getUTCDate: t => int = "getUTCDate" @@ -161,7 +160,6 @@ external setUTCMinutesSMs: (t, ~minutes: int, ~seconds: int, ~milliseconds: int) @send external setUTCSeconds: (t, int) => unit = "setUTCSeconds" @send external setUTCSecondsMs: (t, ~seconds: int, ~milliseconds: int) => unit = "setUTCSeconds" @send external setUTCMilliseconds: (t, int) => unit = "setUTCMilliseconds" -@send external setUTCDay: (t, int) => unit = "setUTCDay" @send external toDateString: t => string = "toDateString" @send external toString: t => string = "toString" @send external toTimeString: t => string = "toTimeString"