mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
split out dateUtils on the backend
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const repository = require('../../services/repository');
|
||||
const utils = require('../../services/utils');
|
||||
const dateUtils = require('../../services/date_utils');
|
||||
const optionService = require('../../services/options');
|
||||
const RecentNote = require('../../entities/recent_note');
|
||||
|
||||
@@ -27,7 +27,7 @@ async function addRecentNote(req) {
|
||||
const recentNote = new RecentNote({
|
||||
branchId: branchId,
|
||||
notePath: notePath,
|
||||
dateAccessed: utils.nowDate(),
|
||||
dateAccessed: dateUtils.nowDate(),
|
||||
isDeleted: 0
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user