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

LibJS: Add Date.prototype.toGMTString()

This commit is contained in:
Andreas Kling 2021-03-14 16:40:41 +01:00
parent 36ea9fbd9e
commit 093331df06
5 changed files with 20 additions and 0 deletions

View file

@ -71,6 +71,7 @@ public:
return String::formatted("{} {}", date_string(), time_string());
}
String gmt_date_string() const;
String iso_date_string() const;
// FIXME: One day, implement real locale support. Until then, everyone gets what the Clock MenuApplet displays.