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:
parent
265e89367e
commit
6cd16eceb3
3 changed files with 29 additions and 0 deletions
|
@ -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&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue