Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install tiddlywebplugins.relativetime

How to install tiddlywebplugins.relativetime

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tiddlywebplugins.relativetime
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.5 Available View build log
0.4 Available View build log
0.3 Available View build log
Windows (64-bit)
0.5 Available View build log
0.4 Available View build log
0.3 Available View build log
Mac OS X (10.5+)
0.5 Available View build log
0.4 Available View build log
0.3 Available View build log
Linux (32-bit)
0.5 Available View build log
0.4 Available View build log
0.3 Available View build log
Linux (64-bit)
0.5 Available View build log
0.4 Available View build log
0.3 Available View build log
 
Author
License
BSD
Dependencies
Lastest release
version 0.5 on Nov 13th, 2011

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).

Subscribe to package updates

Last updated Nov 13th, 2011

Download Stats

Last month:6

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.