Shopify/go-lua

os.date = nil

Tricky1975 opened this issue · 1 comments

This line in an old Lua script of mine has never produced an error in any version of Lua, but in go-lua to gives me a "nil value" error

version = os.date('%y.%m.%d')

P.S. Tried it in the Lua command line tool too :)

Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio
> version = os.date('%y.%m.%d')
> =version
17.12.15
>