projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix calling convention and arg types
[m6w6/ext-psi]
/
psi.d
/
time.psi
diff --git
a/psi.d/time.psi
b/psi.d/time.psi
index 0acbf9861247b9eab0014a629712db618430d2f2..c7f83d118d32c883066c4e5583251fa05ca624eb 100644
(file)
--- a/
psi.d/time.psi
+++ b/
psi.d/time.psi
@@
-117,3
+117,12
@@
function psi\times(array &$tms = NULL) : int {
to_int(tms_cstime)
);
}
+
+
+function psi\tzset() : void {
+ return tzset() as void(tzset);
+}
+
+function psi\tzname() : array {
+ return tzname_get() as to_array(*tzname_get, 2, to_string(*tzname_get));
+}