mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
LibJS: Implement Temporal.now.timeZone()
This commit is contained in:
parent
265e89367e
commit
6cd16eceb3
Notes:
sideshowbarker
2024-07-18 10:15:48 +09:00
Author: https://github.com/linusg
Commit: 6cd16eceb3
Pull-request: https://github.com/SerenityOS/serenity/pull/8514
Reviewed-by: https://github.com/awesomekling ✅
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