Hi folks! I'm still working on the button-that-reads-from-a-field-and-writes-back-a-modified-value, but in the meantime, I also had need for a filter operator, and that one ended up getting completed first.
The name of it is "datebefore". For each tiddler passed as input, the filter checks the date in the tiddler's "created" field, or a different field if specified by the suffix, and passes it through if it is before the date given as a parameter. The ! prefix can reverse its meaning. The filter can be found at http://afeldspar.tiddlyspot.com/#%24%3A%2Ffilters%2Fafeldspar%2Fdatebefore.js . Please let me know what you think. I'm also thinking that I might write a "how to write a filter operator" document based on what I learned to make this one, but I'm not sure where it should go after that, and it should definitely be reviewed by someone who actually understands why, for instance, that "/* jslint node: true, browser: true */" is there. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/e22cf8b6-0880-4a28-89d4-c76df2716035%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
