mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-21 18:38:44 +08:00
🚀 add os.time() to get the local time string
This commit is contained in:
+2
-1
@@ -440,7 +440,8 @@ var dylib=
|
||||
var os=
|
||||
{
|
||||
# get a string that tell which os it runs on.
|
||||
platform: func(){return __builtin_platform;}
|
||||
platform: func(){return __builtin_platform;},
|
||||
time: func(){return __builtin_logtime; }
|
||||
};
|
||||
|
||||
# runtime gives us some functions that we could manage it manually.
|
||||
|
||||
Reference in New Issue
Block a user