Created
August 23, 2008 15:34
-
-
Save trey/6925 to your computer and use it in GitHub Desktop.
ISO 8601 in Django templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ value|date:"Y-m-d G:i:s" }} | |
{# For use with Timeago: http://timeago.yarp.com/ #} | |
<abbr class="timeago" title="{{ entry.created|date:"Y-m-d G:i:s" }}">Whatever</abbr> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment