diff --git a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp index 684d1eb6..3366b8c9 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp @@ -61,7 +61,7 @@ bSearchable : false, sTitle : "Last Modified", bUseRendered: false, - sType: "numeric", + sType: "date", mDataProp: "lastModificationTime", fnRender : function(obj) { var time = obj.aData.lastModificationTime; @@ -275,7 +275,7 @@ // Register time update functions .... setTimeout(function() { jQuery("abbr.timeago").timeago() - }, 30000); + }, 50000); diff --git a/wise-webapp/src/test/sql/hsql/create-schemas.sql b/wise-webapp/src/test/sql/hsql/create-schemas.sql index f589b5ba..b8751239 100644 --- a/wise-webapp/src/test/sql/hsql/create-schemas.sql +++ b/wise-webapp/src/test/sql/hsql/create-schemas.sql @@ -22,8 +22,8 @@ title VARCHAR(255) NOT NULL, description VARCHAR(255) NOT NULL, xml LONGVARBINARY NOT NULL, public BOOLEAN not null, -creation_date date, -edition_date date, +creation_date DATETIME, +edition_date DATETIME, owner_id INTEGER not null, tags varchar(1014) , last_editor varchar(255) , @@ -36,7 +36,7 @@ CREATE TABLE MINDMAP_HISTORY (id INTEGER NOT NULL IDENTITY, xml LONGVARBINARY NOT NULL, mindmap_id INTEGER NOT NULL, -creation_date datetime, +creation_date DATETIME, creator_user varchar(255)); CREATE TABLE MINDMAP_COLABORATOR diff --git a/wise-webapp/src/test/sql/mysql/create-schemas.sql b/wise-webapp/src/test/sql/mysql/create-schemas.sql index c386744e..2d9abf24 100644 --- a/wise-webapp/src/test/sql/mysql/create-schemas.sql +++ b/wise-webapp/src/test/sql/mysql/create-schemas.sql @@ -23,8 +23,8 @@ title varchar(255) CHARACTER SET utf8 NOT NULL, description varchar(255) CHARACTER SET utf8 NOT NULL, xml blob NOT NULL, public BOOL not null default 0, -creation_date date, -edition_date date, +creation_date datetime, +edition_date datetime, owner_id INTEGER not null, tags varchar(1014) CHARACTER SET utf8 , last_editor varchar(255) CHARACTER SET utf8 ,