[EMAIL PROTECTED] wrote:

> I need
> something to parse user input for a django app, and it's awesome to be
> able to write "last monday", "a year ago", or "10pm tuesday" like
> PHP's strtotime.

Django comes with some pretty handy filters for doing this sort of
formatting. Check out the "date", "now", "timesince" and "timeuntil"
filters here:

http://www.djangoproject.com/documentation/templates/#built-in-filter-reference


Jeffrey
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to