Skip to content

Commit ae939fa

Browse files
authored
fix: remove Date.setDay and Date.setUTCDay as these functions doesn't exist (#62)
1 parent 529452e commit ae939fa

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/Core__Date.res

-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ external setMinutesSMs: (t, ~minutes: int, ~seconds: int, ~milliseconds: int) =>
115115
@send external setSeconds: (t, int) => unit = "setSeconds"
116116
@send external setSecondsMs: (t, ~seconds: int, ~milliseconds: int) => unit = "setSeconds"
117117
@send external setMilliseconds: (t, int) => unit = "setMilliseconds"
118-
@send external setDay: (t, int) => unit = "setDay"
119118

120119
// UTC
121120
@send external getUTCFullYear: t => int = "getUTCFullYear"
@@ -153,7 +152,6 @@ external setUTCMinutesSMs: (t, ~minutes: int, ~seconds: int, ~milliseconds: int)
153152
@send external setUTCSeconds: (t, int) => unit = "setUTCSeconds"
154153
@send external setUTCSecondsMs: (t, ~seconds: int, ~milliseconds: int) => unit = "setUTCSeconds"
155154
@send external setUTCMilliseconds: (t, int) => unit = "setUTCMilliseconds"
156-
@send external setUTCDay: (t, int) => unit = "setUTCDay"
157155

158156
@send external toDateString: t => string = "toDateString"
159157
@send external toString: t => string = "toString"

src/Core__Date.resi

-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ external setMinutesSMs: (t, ~minutes: int, ~seconds: int, ~milliseconds: int) =>
126126
@send external setSeconds: (t, int) => unit = "setSeconds"
127127
@send external setSecondsMs: (t, ~seconds: int, ~milliseconds: int) => unit = "setSeconds"
128128
@send external setMilliseconds: (t, int) => unit = "setMilliseconds"
129-
@send external setDay: (t, int) => unit = "setDay"
130129
@send external getUTCFullYear: t => int = "getUTCFullYear"
131130
@send external getUTCMonth: t => int = "getUTCMonth"
132131
@send external getUTCDate: t => int = "getUTCDate"
@@ -161,7 +160,6 @@ external setUTCMinutesSMs: (t, ~minutes: int, ~seconds: int, ~milliseconds: int)
161160
@send external setUTCSeconds: (t, int) => unit = "setUTCSeconds"
162161
@send external setUTCSecondsMs: (t, ~seconds: int, ~milliseconds: int) => unit = "setUTCSeconds"
163162
@send external setUTCMilliseconds: (t, int) => unit = "setUTCMilliseconds"
164-
@send external setUTCDay: (t, int) => unit = "setUTCDay"
165163
@send external toDateString: t => string = "toDateString"
166164
@send external toString: t => string = "toString"
167165
@send external toTimeString: t => string = "toTimeString"

0 commit comments

Comments
 (0)