From f270c475eabd6bffc5a559941978420ece698edd Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Wed, 15 Jan 2020 13:11:08 -0500 Subject: [PATCH] Add timestamp to saved histories (re: b4ef0862978ae79a5cb741ac49370ed678857b1f) --- modules/core/history.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/core/history.js b/modules/core/history.js index 830962d8d..d0bd896cd 100644 --- a/modules/core/history.js +++ b/modules/core/history.js @@ -506,7 +506,9 @@ export function coreHistory(context) { baseEntities: Object.values(baseEntities), stack: s, nextIDs: osmEntity.id.next, - index: _index + index: _index, + // note the time the changes were saved + timestamp: (new Date()).getTime() }); },