Compare commits
2 commits
c3f89e19ee
...
28a32089e4
Author | SHA1 | Date | |
---|---|---|---|
28a32089e4 | |||
7aa60a8d8f |
3 changed files with 6 additions and 6 deletions
|
@ -105,10 +105,10 @@ EVENTS.loadFromDb = function (containerId, type) {
|
|||
var evInitDate = EVENTS.formatDate(item.initDate, EVENTS.displayDateFormat);
|
||||
var evEndDate = EVENTS.formatDate(item.endDate, EVENTS.displayDateFormat);
|
||||
|
||||
var evFrom = "Da: " + evInitDate;
|
||||
var evFrom = "<small>Da: " + evInitDate + "</small>";
|
||||
var evTo = "";
|
||||
if(evEndDate !== "") {
|
||||
evTo = "<br/>" + " A: " + evEndDate;
|
||||
evTo = "<br/>" + "<small>A: " + evEndDate + "</small>";
|
||||
}
|
||||
|
||||
var li = "<li>" +
|
||||
|
|
|
@ -41,7 +41,7 @@ var drawListPost = function(div, resultSet, position) {
|
|||
for (var i = 0; i < resultSet.rows.length; i++) {
|
||||
var val = JSON.parse(resultSet.rows.item(i).post);
|
||||
var id = val.id;
|
||||
var date = val.modified;
|
||||
var date = val.date;
|
||||
var title = val.title.rendered;
|
||||
var url = val.guid.rendered;
|
||||
var cleanTime = EVENTS.formatDate(date, EVENTS.dateFormat.display.date);
|
||||
|
@ -394,7 +394,7 @@ function getSinglePageRecur(url, category, pagenum) {
|
|||
}
|
||||
$.each(data, function (key, val) {
|
||||
var id = val.id;
|
||||
var time = val.modified;
|
||||
var time = val.date;
|
||||
var title = val.title.rendered;
|
||||
var tags = val.tags;
|
||||
var blob = JSON.stringify(val);
|
||||
|
|
|
@ -141,7 +141,7 @@ function getPrevSinglePageRecur(url, pagenum, categories) {
|
|||
var oldest_date = window.localStorage.getItem('db_oldest_' + type + '_date');
|
||||
$.each(data, function (key, val) {
|
||||
var id = val.id;
|
||||
var time = val.modified;
|
||||
var time = val.date;
|
||||
var title = val.title.rendered;
|
||||
var tags = val.tags;
|
||||
var postCategories = val.categories;
|
||||
|
@ -199,7 +199,7 @@ function getLastSinglePageRecur(url, pagenum, categories) {
|
|||
var older_date = null;
|
||||
$.each(data, function (key, val) {
|
||||
var id = val.id;
|
||||
var time = val.modified;
|
||||
var time = val.date;
|
||||
var title = val.title.rendered;
|
||||
var tags = val.tags;
|
||||
var postCategories = val.categories;
|
||||
|
|
Loading…
Reference in a new issue