mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
LibJS: Implement Date.parse()
The spec says Date.parse() should accept at least a simplified form of ISO 8601, so that's all this implements.
This commit is contained in:
parent
19a8aa72d2
commit
6e5aa5d5df
3 changed files with 151 additions and 2 deletions
|
@ -45,6 +45,7 @@ private:
|
|||
virtual bool has_constructor() const override { return true; }
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(now);
|
||||
JS_DECLARE_NATIVE_FUNCTION(parse);
|
||||
JS_DECLARE_NATIVE_FUNCTION(utc);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue