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:
parent
46214f0657
commit
60e70e5ee4
2 changed files with 14 additions and 0 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue