mirror of https://github.com/gin-gonic/gin.git
fix: typo (#3086)
This commit is contained in:
parent
fcd36c549d
commit
f073e33fb9
|
@ -1411,7 +1411,7 @@ import (
|
||||||
|
|
||||||
func formatAsDate(t time.Time) string {
|
func formatAsDate(t time.Time) string {
|
||||||
year, month, day := t.Date()
|
year, month, day := t.Date()
|
||||||
return fmt.Sprintf("%d%02d/%02d", year, month, day)
|
return fmt.Sprintf("%d/%02d/%02d", year, month, day)
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue