[ 
https://issues.apache.org/jira/browse/TS-4096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081944#comment-15081944
 ] 

ASF GitHub Bot commented on TS-4096:
------------------------------------

Github user jpeach commented on the pull request:

    https://github.com/apache/trafficserver/pull/394#issuecomment-168836153
  
    This still returns time in seconds, since the arithmetic is the same. If 
you change the time units should you add a new API to preserve compatibility?


> ts_lua - ts.now() should return subsecond information
> -----------------------------------------------------
>
>                 Key: TS-4096
>                 URL: https://issues.apache.org/jira/browse/TS-4096
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Lua, Plugins
>            Reporter: Kit Chan
>            Assignee: Kit Chan
>             Fix For: 6.2.0
>
>
> Currently ts.now() returns the unix timestamp in seconds. 
> But we should be able to return milliseconds as well.
> It should be similar to how ngx.now() works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to