From a90e68208dd5bd982fe457b6a4f2c1198db37f7a Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sat, 11 Mar 2017 14:39:24 +1100 Subject: [PATCH] luatz/tzinfo: Add __name field to metatables --- luatz/tzinfo.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/luatz/tzinfo.lua b/luatz/tzinfo.lua index 75be0f1..3ff0a07 100644 --- a/luatz/tzinfo.lua +++ b/luatz/tzinfo.lua @@ -11,9 +11,11 @@ end local tz_info_methods = { } local tz_info_mt = { + __name = "luatz.tz_info"; __index = tz_info_methods ; } local tt_info_mt = { + __name = "luatz.tt_info"; __tostring = function ( self ) return string.format ( "tt_info:%s=%d" , self.abbr , self.gmtoff ) end ; -- 2.39.5