aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/repo
diff options
context:
space:
mode:
authorPeter Smit <peter@smitmail.eu>2015-02-16 14:44:27 +0200
committerPeter Smit <peter@smitmail.eu>2015-02-16 14:44:27 +0200
commit7759b9ee6efb069a1f846b43bd6bc981f998e55a (patch)
tree61e95c4db963fbf6eac0dfb7f673de8c58fc13ad /templates/admin/repo
parentd85366930c94145c8f1119ff0b6bb95d77c5200e (diff)
downloadgitea-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/repo')
-rw-r--r--templates/admin/repo/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl
index 88e16a4337..981e2ef72b 100644
--- a/templates/admin/repo/list.tmpl
+++ b/templates/admin/repo/list.tmpl
@@ -37,7 +37,7 @@
<td>{{.NumWatches}}</td>
<td>{{.NumStars}}</td>
<td>{{.NumIssues}}</td>
- <td><span title="{{DateFormat .Created "r"}}">{{DateFormat .Created "M d, Y"}}</span></td>
+ <td><span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created}}</span></td>
</tr>
{{end}}
</tbody>