os.date = nil
Tricky1975 opened this issue · 1 comments
Tricky1975 commented
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
>
fbogsany commented
https://github.com/Shopify/go-lua/blob/master/os.go#L26 os.date
is not yet implemented.