IGNITE-4630 org.apache.ignite.lang.IgniteProductVersion.releaseDate returns not valid date
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/96527d92 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/96527d92 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/96527d92 Branch: refs/heads/ignite-3477-merge2.0 Commit: 96527d92f003dbb5010e155d4f2e7f394640a6c1 Parents: 26562d3 Author: Evgenii Zhuravlev <ezhurav...@gridgain.com> Authored: Fri Feb 3 12:45:17 2017 +0300 Committer: Anton Vinogradov <a...@apache.org> Committed: Fri Feb 3 12:45:17 2017 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/ignite/lang/IgniteProductVersion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/96527d92/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java b/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java index 0abe64f..457ec55 100644 --- a/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java +++ b/modules/core/src/main/java/org/apache/ignite/lang/IgniteProductVersion.java @@ -159,7 +159,7 @@ public class IgniteProductVersion implements Comparable<IgniteProductVersion>, E * @return Release date. */ public Date releaseDate() { - return new Date(revTs); + return new Date(revTs * 1000); } /**