1
Fork 0
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:
Idan Horowitz 2021-06-06 15:53:52 +03:00 committed by Linus Groh
parent 44926b3f80
commit 3eb05d9413
3 changed files with 16 additions and 0 deletions

View file

@ -135,6 +135,7 @@ namespace JS {
P(getPrototypeOf) \
P(getSeconds) \
P(getTime) \
P(getTimezoneOffset) \
P(getUTCDate) \
P(getUTCDay) \
P(getUTCFullYear) \