Skip to content

Commit 34c45e3

Browse files
committed
Fixed mistake in jsinterop for Date
1 parent a5972e2 commit 34c45e3

File tree

1 file changed

+1
-1
lines changed
  • gwt-core/src/main/java/org/gwtproject/core/client

1 file changed

+1
-1
lines changed

gwt-core/src/main/java/org/gwtproject/core/client/JsDate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
/** A simple wrapper around a native JS Date object. */
2323
@Deprecated
24-
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
24+
@JsType(isNative = true, name = "Date", namespace = JsPackage.GLOBAL)
2525
public class JsDate extends JavaScriptObject {
2626

2727
/** Creates a new date with the current time. */

0 commit comments

Comments
 (0)