CC: Tweaked

CC: Tweaked

57M Downloads

os.epoch is inconsistent with documentation

Gibbo3771 opened this issue ยท 0 comments

commented

Versions

  • Minecraft version - 1.16.3
  • CC: Tweaked version - 1.93.1

Reproduce

Pretty straight forward. Run this:

while true do
    sleep(0.05)
    print(os.epoch("local"))
end

Clearly counts up in milliseconds but docs state that it os.epoch() returns in seconds. I am not sure if the docs are wrong, or if something else is broken.

Docs