Browse Source

Update Date.hx

malublu 9 năm trước cách đây
mục cha
commit
3e5c08db4e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {