Ver Fonte

fix see issue

https://github.com/HaxeFoundation/haxe/issues/5547
malublu há 9 anos atrás
pai
commit
73406a73a0
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      std/lua/_std/Date.hx

+ 1 - 1
std/lua/_std/Date.hx

@@ -56,7 +56,7 @@
 		untyped {
 			lua.Lua.setmetatable(d, untyped {__index : Date.prototype});
 			d.t = t/1000;
-			d.d = lua.Os.date("*t", d.t);
+			d.d = lua.Os.date("*t", Std.int(d.t));
 		}
 		return d;
 	}