Change date value from data to date time for edition_timestamp.

This commit is contained in:
Paulo Gustavo Veiga 2012-04-08 18:36:22 -03:00
parent 736d88d000
commit 583b2723d3
3 changed files with 7 additions and 7 deletions

View File

@ -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);
</script>
</head>
<body>

View File

@ -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

View File

@ -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 ,