ErlyDTL, the Erlang version of the Django Template Language is progressing nicely. Most of the common tags and filters are implemented. Recently Colm Dougan joined the development team and added date and time formating.
Let's take a look at some examples with fictive dates:
Template: {% var1|date "r" %}
Rendered Output: Thu, 21 Dec 2000 16:01:07 +0200
Template: {% var2|date "jS F Y H:i" %}
Rendered Output: 27th February 2008 01:24
Template: It is the {% var3|date "jS o\f F Y" %}
Rendered Output: It is the 4th of September 2007
Subscribe to:
Post Comments (Atom)
2 comments:
The url http://erlydlt.googlecode.com/ looks dead.
Uuhh, a typo, thanks for reporting, corrected now.
Post a Comment