Explorar o código

Update Date.hx

malublu %!s(int64=9) %!d(string=hai) anos
pai
achega
3e5c08db4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/lua/_std/Date.hx

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

@@ -48,7 +48,7 @@
 	}
 
 	public static inline function now() : Date {
-		return fromTime(lua.Os.time());
+		return fromTime(lua.Os.time()*1000);
 	}
 
 	public static inline function fromTime( t : Float ) : Date {