1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:57:44 +00:00

LibJS Date: Added toUTCString()

toGMTString() is deprecated but is kept for compatibility's sake, but because
HTTP Dates are always expressed in GMT, it should be safe to call toUTCString()
in toGMTString().
This commit is contained in:
Petróczi Zoltán 2021-03-16 14:36:32 +01:00 committed by Andreas Kling
parent 036b5c2804
commit d231c5e65b
3 changed files with 12 additions and 0 deletions

View file

@ -235,6 +235,7 @@ namespace JS {
P(toString) \
P(toTimeString) \
P(toUpperCase) \
P(toUTCString) \
P(trace) \
P(trim) \
P(trimEnd) \