equal
deleted
inserted
replaced
238 |
238 |
239 @templatekeyword('date', requires={'ctx'}) |
239 @templatekeyword('date', requires={'ctx'}) |
240 def showdate(context, mapping): |
240 def showdate(context, mapping): |
241 """Date information. The date when the changeset was committed.""" |
241 """Date information. The date when the changeset was committed.""" |
242 ctx = context.resource(mapping, 'ctx') |
242 ctx = context.resource(mapping, 'ctx') |
243 return ctx.date() |
243 return templateutil.date(ctx.date()) |
244 |
244 |
245 @templatekeyword('desc', requires={'ctx'}) |
245 @templatekeyword('desc', requires={'ctx'}) |
246 def showdescription(context, mapping): |
246 def showdescription(context, mapping): |
247 """String. The text of the changeset description.""" |
247 """String. The text of the changeset description.""" |
248 ctx = context.resource(mapping, 'ctx') |
248 ctx = context.resource(mapping, 'ctx') |