mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
LibJS: Stub out Date.prototype.getTimezoneOffset()
We only support UTC currently, so this always returns 0 as long as the date is not invalid.
This commit is contained in:
parent
44926b3f80
commit
3eb05d9413
3 changed files with 16 additions and 0 deletions
|
@ -135,6 +135,7 @@ namespace JS {
|
|||
P(getPrototypeOf) \
|
||||
P(getSeconds) \
|
||||
P(getTime) \
|
||||
P(getTimezoneOffset) \
|
||||
P(getUTCDate) \
|
||||
P(getUTCDay) \
|
||||
P(getUTCFullYear) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue