diff extensions/kwarchive.py @ 115:06a60e2a9887

Added "JustDate" (from Visual Source Safe and Surround SCM) as date only keyword
author Franz Glasner <hg@dom66.de>
date Thu, 16 Aug 2018 23:11:37 +0200
parents a51822141ccf
children 23cbfc34ae4a
line wrap: on
line diff
--- a/extensions/kwarchive.py	Thu Aug 16 18:53:11 2018 +0200
+++ b/extensions/kwarchive.py	Thu Aug 16 23:11:37 2018 +0200
@@ -434,6 +434,8 @@
         "HGrevision": ctx.hex(),
         "Revision": templatefilters.short(ctx.hex()),
         "Date": templatefilters.isodatesec(ctx.date()),
+        "JustDate": templatefilters.shortdate(ctx.date()),
+        # compatibility alias for `JustDate'
         "HGshortdate": templatefilters.shortdate(ctx.date()),
     }
     if user_filter == "user":