Skip to main content

Use relative time expressions in select filters

Project description

Extension to tiddlyweb select filters to use relative time statements.

Where a filter is:

select=modifier:>2011

once could expect either a tiddlywiki timestamp string, a fragment thereof, or some numbers that end with ‘d’, ‘s’, ‘m’, ‘h’, ‘y’ (case insensitive) meaning Days, Seconds, Minutes, Hours, Years. We don’t worry about months. If the trailing letter is there, we translate it into an absolute time in the past, relative to now.

This makes it possible select things like “everything modified in the last day”.

Copyright 2011, Chris Dent <cdent@peermore.com>

BSD License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiddlywebplugins.relativetime-0.2.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file tiddlywebplugins.relativetime-0.2.tar.gz.

File metadata

File hashes

Hashes for tiddlywebplugins.relativetime-0.2.tar.gz
Algorithm Hash digest
SHA256 2d81bde6548a64d8bcc515c172dcbbd606247aa063c6dcd1820ce07ca96ff6cd
MD5 40ffee2cd5845d0424e1a7e1fed1eeb4
BLAKE2b-256 0a411fb922b7bdbc682c9d2f583efc2e13788c75310c0fd813416fadd70205af

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page