Merge pull request #1147 from chunmeng/fix_money_locale_code

ref: fix money locale example
This commit is contained in:
astaxie
2021-01-15 23:17:48 +08:00
committed by GitHub
7 changed files with 7 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ Obviously, currency differs from region to region also. We can treat it the same
en["money"] ="USD %d"
cn["money"] ="¥%d元"
fmt.Println(date(msg(lang,"date_format"),100))
fmt.Println(money_format(msg(lang,"money"),100))
func money_format(fomat string, money int64) string{
return fmt.Sprintf(fomat, money)