1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:17:44 +00:00

LibJS: Add Date.setUTC{Date, Month, Hours, ...}() aliases

These are a bit hacky, since they are supposed to be separate methods,
but since serenity only supports UTC currently, they are equivalent.
This commit is contained in:
Idan Horowitz 2021-06-06 17:34:04 +03:00 committed by Linus Groh
parent 46214f0657
commit 60e70e5ee4
2 changed files with 14 additions and 0 deletions

View file

@ -224,6 +224,13 @@ namespace JS {
P(setPrototypeOf) \
P(setSeconds) \
P(setTime) \
P(setUTCDate) \
P(setUTCFullYear) \
P(setUTCHours) \
P(setUTCMilliseconds) \
P(setUTCMinutes) \
P(setUTCMonth) \
P(setUTCSeconds) \
P(setYear) \
P(shift) \
P(sign) \