Skip to content

Commit

Permalink
Fix mod_ood_proxy Lua errors with Lua 5.3 (Release 2.0) (#1627)
Browse files Browse the repository at this point in the history
Fixes #1625
  • Loading branch information
treydock authored Nov 29, 2021
1 parent 70e2735 commit e121440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod_ood_proxy/lib/logger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function logger(r)
msg["log_hook"] = "ood"

-- log
msg["log_time"] = os.date("!%Y-%m-%dT%T", time / 1000000) .. "." .. time % 1000000 .. "Z"
msg["log_time"] = os.date("!%Y-%m-%dT%T", math.floor(time / 1000000)) .. "." .. time % 1000000 .. "Z"
msg["log_id"] = r.log_id

-- user
Expand Down

0 comments on commit e121440

Please sign in to comment.