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, bSearchable : false,
sTitle : "Last Modified", sTitle : "Last Modified",
bUseRendered: false, bUseRendered: false,
sType: "numeric", sType: "date",
mDataProp: "lastModificationTime", mDataProp: "lastModificationTime",
fnRender : function(obj) { fnRender : function(obj) {
var time = obj.aData.lastModificationTime; var time = obj.aData.lastModificationTime;
@ -275,7 +275,7 @@
// Register time update functions .... // Register time update functions ....
setTimeout(function() { setTimeout(function() {
jQuery("abbr.timeago").timeago() jQuery("abbr.timeago").timeago()
}, 30000); }, 50000);
</script> </script>
</head> </head>
<body> <body>

View File

@ -22,8 +22,8 @@ title VARCHAR(255) NOT NULL,
description VARCHAR(255) NOT NULL, description VARCHAR(255) NOT NULL,
xml LONGVARBINARY NOT NULL, xml LONGVARBINARY NOT NULL,
public BOOLEAN not null, public BOOLEAN not null,
creation_date date, creation_date DATETIME,
edition_date date, edition_date DATETIME,
owner_id INTEGER not null, owner_id INTEGER not null,
tags varchar(1014) , tags varchar(1014) ,
last_editor varchar(255) , last_editor varchar(255) ,
@ -36,7 +36,7 @@ CREATE TABLE MINDMAP_HISTORY
(id INTEGER NOT NULL IDENTITY, (id INTEGER NOT NULL IDENTITY,
xml LONGVARBINARY NOT NULL, xml LONGVARBINARY NOT NULL,
mindmap_id INTEGER NOT NULL, mindmap_id INTEGER NOT NULL,
creation_date datetime, creation_date DATETIME,
creator_user varchar(255)); creator_user varchar(255));
CREATE TABLE MINDMAP_COLABORATOR 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, description varchar(255) CHARACTER SET utf8 NOT NULL,
xml blob NOT NULL, xml blob NOT NULL,
public BOOL not null default 0, public BOOL not null default 0,
creation_date date, creation_date datetime,
edition_date date, edition_date datetime,
owner_id INTEGER not null, owner_id INTEGER not null,
tags varchar(1014) CHARACTER SET utf8 , tags varchar(1014) CHARACTER SET utf8 ,
last_editor varchar(255) CHARACTER SET utf8 , last_editor varchar(255) CHARACTER SET utf8 ,