Skip to content

Commit

Permalink
Merge pull request #3558 from Smok1e/master-MC1.7.10
Browse files Browse the repository at this point in the history
Fix ls.lua timestamp
  • Loading branch information
asiekierka authored Sep 17, 2022
2 parents 9efc6d8 + 7a976b3 commit 0784099
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ local function stat(path, name)
info.sort_name = info.name:gsub("^%.","")
info.isLink, info.link = fs.isLink(info.full_path)
info.size = info.isLink and 0 or fs.size(info.full_path)
info.time = fs.lastModified(info.full_path)
info.time = fs.lastModified(info.full_path)/1000
info.fs = fs.get(info.full_path)
info.ext = info.name:match("(%.[^.]+)$") or ""
return info
Expand Down

0 comments on commit 0784099

Please sign in to comment.