Show More
@@ -50,8 +50,8 b' templatefunc = registrar.templatefunc(fu' | |||
|
50 | 50 | |
|
51 | 51 | @templatefunc(b'date(date[, fmt])') |
|
52 | 52 | def date(context, mapping, args): |
|
53 | """Format a date. See :hg:`help dates` for formatting | |
|
54 |
|
|
|
53 | """Format a date. The format string uses the Python strftime format. | |
|
54 | The default is a Unix date format, including the timezone: | |
|
55 | 55 | "Mon Sep 04 15:13:13 2006 0700".""" |
|
56 | 56 | if not (1 <= len(args) <= 2): |
|
57 | 57 | # i18n: "date" is a keyword |
General Comments 0
You need to be logged in to leave comments.
Login now