summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/i18n.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i18n.go b/src/i18n.go
index 3dca028..089e3de 100644
--- a/src/i18n.go
+++ b/src/i18n.go
@@ -250,7 +250,7 @@ func (p Printer) N(n int) string {
return p.inner.Sprint(n)
}
-func (p Printer) Date(d time.Time) string {
+func (p Printer) D(d time.Time) string {
return d.Format(p.Locale.dateFmt)
}