mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-29 14:47:40 +00:00
Fix issues with creation and modification dates
There were several places where tiddlers were being written without the creation/modification details being updated. See https://groups.google.com/d/msgid/tiddlywiki/17ef8ab0-0128-4467-8a9d-f17 bdbcf3618%40googlegroups.com
This commit is contained in:
@@ -170,7 +170,7 @@ var Command = function(params,commander,callback) {
|
||||
if(fields.revision) {
|
||||
delete fields.revision;
|
||||
}
|
||||
state.wiki.addTiddler(new $tw.Tiddler(state.wiki.getCreationFields(),fields,{title: title}));
|
||||
state.wiki.addTiddler(new $tw.Tiddler(state.wiki.getCreationFields(),fields,{title: title},state.wiki.getModificationFields()));
|
||||
var changeCount = state.wiki.getChangeCount(title).toString();
|
||||
response.writeHead(204, "OK",{
|
||||
Etag: "\"default/" + encodeURIComponent(title) + "/" + changeCount + ":\"",
|
||||
|
||||
Reference in New Issue
Block a user