mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
in web version use local client time instead of server time for recording dateModified etc.
This commit is contained in:
@@ -13,6 +13,10 @@ function getSourceId() {
|
||||
return namespace.get('sourceId');
|
||||
}
|
||||
|
||||
function getLocalNowDateTime() {
|
||||
return namespace.get('localNowDateTime');
|
||||
}
|
||||
|
||||
function disableEntityEvents() {
|
||||
namespace.set('disableEntityEvents', true);
|
||||
}
|
||||
@@ -50,6 +54,7 @@ module.exports = {
|
||||
wrap,
|
||||
namespace,
|
||||
getSourceId,
|
||||
getLocalNowDateTime,
|
||||
disableEntityEvents,
|
||||
isEntityEventsDisabled,
|
||||
reset,
|
||||
|
||||
Reference in New Issue
Block a user