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

LibJS: Implement Temporal.now.timeZone()

This commit is contained in:
Linus Groh 2021-07-06 23:54:53 +01:00
parent 265e89367e
commit 6cd16eceb3
3 changed files with 29 additions and 0 deletions

View file

@ -17,6 +17,11 @@ public:
explicit Now(GlobalObject&);
virtual void initialize(GlobalObject&) override;
virtual ~Now() override = default;
private:
JS_DECLARE_NATIVE_FUNCTION(time_zone);
};
Object* system_time_zone(GlobalObject&);
}