You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ki...@apache.org on 2016/01/05 14:09:33 UTC
trafficserver git commit: TS-4096: update documentation
Repository: trafficserver
Updated Branches:
refs/heads/master 018f21279 -> 33de45548
TS-4096: update documentation
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/33de4554
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/33de4554
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/33de4554
Branch: refs/heads/master
Commit: 33de455486fbd953d4322ca3e133fa32feafd416
Parents: 018f212
Author: Kit Chan <ki...@apache.org>
Authored: Tue Jan 5 05:09:20 2016 -0800
Committer: Kit Chan <ki...@apache.org>
Committed: Tue Jan 5 05:09:20 2016 -0800
----------------------------------------------------------------------
doc/admin-guide/plugins/ts_lua.en.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/33de4554/doc/admin-guide/plugins/ts_lua.en.rst
----------------------------------------------------------------------
diff --git a/doc/admin-guide/plugins/ts_lua.en.rst b/doc/admin-guide/plugins/ts_lua.en.rst
index 27b27a8..66de2d9 100644
--- a/doc/admin-guide/plugins/ts_lua.en.rst
+++ b/doc/admin-guide/plugins/ts_lua.en.rst
@@ -137,13 +137,14 @@ ts.now
**context:** global
-**description:** This function returns the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds.
+**description:** This function returns the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds. It
+includes milliseconds as the decimal part.
Here is an example:
::
- local nt = ts.now() -- 1395221053
+ local nt = ts.now() -- 1395221053.123
`TOP <#ts-lua-plugin>`_