mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 02:30:42 +01:00
camel casing and fixes
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
const build = require('./build');
|
||||
const packageJson = require('../../package');
|
||||
|
||||
const APP_DB_VERSION = 85;
|
||||
const APP_DB_VERSION = 86;
|
||||
|
||||
module.exports = {
|
||||
app_version: packageJson.version,
|
||||
appVersion: packageJson.version,
|
||||
dbVersion: APP_DB_VERSION,
|
||||
build_date: build.build_date,
|
||||
build_revision: build.build_revision
|
||||
buildDate: build.buildDate,
|
||||
buildRevision: build.buildRevision
|
||||
};
|
||||
@@ -1 +1 @@
|
||||
module.exports = { build_date:"2018-01-17T23:59:03-05:00", build_revision: "651a9fb3272c85d287c16d5a4978464fb7d2490d" };
|
||||
module.exports = { buildDate:"2018-01-17T23:59:03-05:00", buildRevision: "651a9fb3272c85d287c16d5a4978464fb7d2490d" };
|
||||
|
||||
@@ -6,9 +6,9 @@ const labelService = require('./labels');
|
||||
const dateUtils = require('./date_utils');
|
||||
|
||||
const CALENDAR_ROOT_LABEL = 'calendarRoot';
|
||||
const YEAR_LABEL = 'year_note';
|
||||
const MONTH_LABEL = 'month_note';
|
||||
const DATE_LABEL = 'date_note';
|
||||
const YEAR_LABEL = 'yearNote';
|
||||
const MONTH_LABEL = 'monthNote';
|
||||
const DATE_LABEL = 'dateNote';
|
||||
|
||||
const DAYS = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
|
||||
const MONTHS = ['January','February','March','April','May','June','July','August','September','October','November','December'];
|
||||
|
||||
@@ -19,8 +19,8 @@ async function runNotesWithLabel(runAttrValue) {
|
||||
}
|
||||
}
|
||||
|
||||
setTimeout(() => cls.wrap(() => runNotesWithLabel('backendStartup')), 10 * 1000);
|
||||
setTimeout(cls.wrap(() => runNotesWithLabel('backendStartup')), 10 * 1000);
|
||||
|
||||
setInterval(() => cls.wrap(() => runNotesWithLabel('hourly')), 3600 * 1000);
|
||||
setInterval(cls.wrap(() => runNotesWithLabel('hourly')), 3600 * 1000);
|
||||
|
||||
setInterval(() => cls.wrap(() => runNotesWithLabel('daily'), 24 * 3600 * 1000));
|
||||
setInterval(cls.wrap(() => runNotesWithLabel('daily')), 24 * 3600 * 1000);
|
||||
Reference in New Issue
Block a user