1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 20:09:02 +00:00

Use stdnse.format_timestamp in more places to avoid formatting issues. See #1255, #1303

This commit is contained in:
dmiller
2018-08-16 21:26:48 +00:00
parent 834e37d475
commit 6c4e02e89d
8 changed files with 13 additions and 13 deletions

View File

@@ -834,7 +834,7 @@ function convertADTimeStamp(timestamp)
result = ( timestamp // 10000000 ) - 3036
result = result + base_time
result = os.date("%Y/%m/%d %H:%M:%S UTC", result)
result = stdnse.format_timestamp(result, 0)
else
result = 'Never'
end