mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
fix storing date_modified for note
This commit is contained in:
@@ -62,10 +62,6 @@ function isElectron() {
|
||||
return !!process.versions['electron'];
|
||||
}
|
||||
|
||||
function formatTwoDates(origDate, newDate) {
|
||||
return "orig: " + origDate + ", new: " + newDate;
|
||||
}
|
||||
|
||||
function hash(text) {
|
||||
return crypto.createHash('sha1').update(text).digest('base64');
|
||||
}
|
||||
@@ -88,7 +84,6 @@ module.exports = {
|
||||
fromBase64,
|
||||
hmac,
|
||||
isElectron,
|
||||
formatTwoDates,
|
||||
hash,
|
||||
isEmptyOrWhitespace
|
||||
};
|
||||
Reference in New Issue
Block a user