Add date builtins (fix #364)
Windows support for strptime() is missing. We can add a copy of one from a BSD later.
This commit is contained in:
1 parent
b82c231900
commit
a4b9552c82
5 files changed
+104
-2
No files matched your search
@@ -1140,6 +1140,10 @@ bsearch(4)
|
||||
[1,2,3]
|
||||
-4
|
||||
|
||||
[strptime("%Y-%m-%d %H:%M:%SZ")|(.,mktime)]
|
||||
"2015-03-05 23:51:47Z"
|
||||
[[2015,2,5,23,51,47,4,63],1425621107]
|
||||
|
||||
# module system
|
||||
import "a" as foo; import "b" as bar; def fooa: foo::a; [fooa, bar::a, bar::b, foo::a]
|
||||
null
|
||||
|
||||
Reference in new issue
Block a user