summaryrefslogtreecommitdiffstats
path: root/templates/user/settings/social.tmpl
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/user/settings/social.tmpl
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/user/settings/social.tmpl')
-rw-r--r--templates/user/settings/social.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/social.tmpl b/templates/user/settings/social.tmpl
index b47f883e51..f2a30da791 100644
--- a/templates/user/settings/social.tmpl
+++ b/templates/user/settings/social.tmpl
@@ -18,7 +18,7 @@
<div class="ssh-content left">
<p><strong>{{Oauth2Name .Type}}</strong></p>
<p class="print">{{.Identity}}</p>
- <p class="activity"><i>{{$.i18n.Tr "settings.add_on"}} <span title="{{DateFormat .Created "r"}}">{{DateFormat .Created "M d, Y"}}</span> — <i class="octicon octicon-info"></i>{{$.i18n.Tr "settings.last_used"}} {{DateFormat .Updated "M d, Y"}}</i></p>
+ <p class="activity"><i>{{$.i18n.Tr "settings.add_on"}} <span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created}}</span> — <i class="octicon octicon-info"></i>{{$.i18n.Tr "settings.last_used"}} {{DateFmtShort .Updated}}</i></p>
</div>
<a class="right btn btn-small btn-red btn-header btn-radius" href="{{AppSubUrl}}/user/settings/social?remove={{.Id}}">{{$.i18n.Tr "settings.unbind"}}</a>
</li>