summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2006-09-25 02:49:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:17 -0500
commitc5718959e6a6d0454a870cbd311e707e69c98e85 (patch)
tree0ff02ec691bce1ef1181d1000466937feb264e43 /source4/scripting/libjs
parent4d3434ff6e83799a1690b3ad3475beb3ef6f12ba (diff)
downloadsamba-c5718959e6a6d0454a870cbd311e707e69c98e85.tar.gz
samba-c5718959e6a6d0454a870cbd311e707e69c98e85.tar.bz2
samba-c5718959e6a6d0454a870cbd311e707e69c98e85.zip
r18880: JSON-RPC work in progress
(This used to be commit 34bffbaebf50c2a75c91285d5ec82e8f377981cc)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/provision.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 1328cfe8fe..bba3d124ff 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -113,7 +113,7 @@ function ldaptime()
*/
function datestring()
{
- var t = sys.gmtime(sys.nttime());
+ var t = sys.ntgmtime(sys.nttime());
return sprintf("%04u%02u%02u%02u",
t.tm_year+1900, t.tm_mon+1, t.tm_mday, t.tm_hour);
}