diff options
author | Peter Smit <peter@smitmail.eu> | 2015-02-16 14:44:27 +0200 |
---|---|---|
committer | Peter Smit <peter@smitmail.eu> | 2015-02-16 14:44:27 +0200 |
commit | 7759b9ee6efb069a1f846b43bd6bc981f998e55a (patch) | |
tree | 61e95c4db963fbf6eac0dfb7f673de8c58fc13ad /templates/admin/auth/list.tmpl | |
parent | d85366930c94145c8f1119ff0b6bb95d77c5200e (diff) | |
download | gitea-7759b9ee6efb069a1f846b43bd6bc981f998e55a.tar.gz gitea-7759b9ee6efb069a1f846b43bd6bc981f998e55a.zip |
Remove the "PHP" style formatting function
The "PHP" formatting function doesn't add anything, except an undocumented date format.
All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
Diffstat (limited to 'templates/admin/auth/list.tmpl')
-rw-r--r-- | templates/admin/auth/list.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/auth/list.tmpl b/templates/admin/auth/list.tmpl index aba516b8eb..ec701a8f8c 100644 --- a/templates/admin/auth/list.tmpl +++ b/templates/admin/auth/list.tmpl @@ -34,8 +34,8 @@ <td><a href="{{AppSubUrl}}/admin/auths/{{.Id}}">{{.Name}}</a></td> <td>{{.TypeString}}</td> <td><i class="fa fa{{if .IsActived}}-check{{end}}-square-o"></i></td> - <td><span title="{{DateFormat .Updated "r"}}">{{DateFormat .Updated "M d, Y"}}</span></td> - <td><span title="{{DateFormat .Created "r"}}">{{DateFormat .Created "M d, Y"}}</span></td> + <td><span title="{{DateFmtLong .Updated}}">{{DateFmtShort .Updated}}</span></td> + <td><span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created}}</span></td> <td><a href="{{AppSubUrl}}/admin/auths/{{.Id}}"><i class="fa fa-pencil-square-o"></i></a></td> </tr> {{end}} |