--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Open the shadow tiddler $:/snippets/recentchanges and delete it's contents before publishing. That should do it.
<$list filter="[!is[system]has[modified]!sort[modified]limit[100]eachday[modified]]"><$list filter="[!is[system]has[modified]afterday{Version History!!modified}!sort[modified]limit[100]eachday[modified]]">$:/core/modules/filters/afterday.js" filter required./*\
title: $:/core/modules/filters/afterday.js
type: application/javascript
module-type: filteroperator
Filter operator that selects tiddlers with a modified date field on the same day as the provided value.
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
/*
Export our filter function
*/
exports.afterday = function(source,operator,options) {
var results = [],
fieldName = operator.suffix || "modified",
targetDate = (new Date($tw.utils.parseDate(operator.operand))).setHours(0,0,0,0);
// Function to convert a date/time to a date integer
var isAfterDay = function(dateField) {
return (new Date(dateField)).setHours(0,0,0,0) > targetDate;
};
source(function(tiddler,title) {
if(tiddler && tiddler.fields[fieldName]) {
if(isAfterDay(tiddler.fields[fieldName])) {
results.push(title);
}
}
});
return results;
};
})();
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
I'll take the discussion about the new filters over to GitHub.