camel casing and fixes

This commit is contained in:
azivner
2018-04-04 23:04:31 -04:00
parent cf7a336ac2
commit 2cdcb3af12
10 changed files with 32 additions and 22 deletions

View File

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

View File

@@ -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" };

View File

@@ -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'];

View File

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