summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-06-13 22:00:55 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-06-13 22:00:55 +0200
commite4436faa1ad40ed285d34e2f00e8dbf41cfc1687 (patch)
tree4ff812fb6d59be535163e8be04733682315d243b /src
parent493ff20931f5133025540841a248a0763bff78df (diff)
Rename ‘Printer.Date’ to ‘Printer.D’
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)
}