Extension to tiddlyweb select filters to use relative time statements.
Where a filter is:
select=modifier:>2011
one 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.
It’s important to note that the translation happens _before_ the > or < is interpreted. So while
select=modified:>1d
at first glance reads as “select those entities with a modified more than one day ago” it is actually, if we say today is 20110302, “select those entities with a modified greater than 20110302” (i.e. those thing modified within the last day).
Metadata
Release files for tiddlywebplugins.relativetime 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tiddlywebplugins.relativetime-0.5.tar.gz | 5.4 kB | Without provenance | Details for tiddlywebplugins.relativetime-0.5.tar.gz |
Release files / tiddlywebplugins.relativetime-0.5.tar.gz
| Download URL | tiddlywebplugins.relativetime-0.5.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8fc27ff2978f261029d1dd874965a786be59557df57a324e58d69017f7ff7b1
|
|
BLAKE2b-256 checksum How to use checksums |
8f0c0ce379ef0b195b47d80956d744fec3071131b84a94dfe51a400d7053f336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tiddlywebplugins.relativetime 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.