create months and days with associated english names, closes #37

This commit is contained in:
azivner
2018-02-10 13:53:35 -05:00
parent b3038487f8
commit e970564036
5 changed files with 25 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ const wrap = require('express-promise-wrap').wrap;
router.post('/sync', wrap(async (req, res, next) => {
const timestampStr = req.body.timestamp;
const timestamp = utils.parseDate(timestampStr);
const timestamp = utils.parseDateTime(timestampStr);
const now = new Date();