mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
db anonymization implementation
This commit is contained in:
@@ -70,6 +70,9 @@ function isEmptyOrWhitespace(str) {
|
||||
return str === null || str.match(/^ *$/) !== null;
|
||||
}
|
||||
|
||||
function getDateTimeForFile() {
|
||||
return new Date().toISOString().substr(0, 19).replace(/:/g, '');
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
randomSecureToken,
|
||||
@@ -85,5 +88,6 @@ module.exports = {
|
||||
hmac,
|
||||
isElectron,
|
||||
hash,
|
||||
isEmptyOrWhitespace
|
||||
isEmptyOrWhitespace,
|
||||
getDateTimeForFile
|
||||
};
|
||||
Reference in New Issue
Block a user