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

@@ -99,7 +99,7 @@ func date(fomate string,t time.Time) string{
en["money"] ="USD %d"
cn["money"] ="¥%d 元"
fmt.Println(money_format(msg(lang,"date_format"),100))
fmt.Println(money_format(msg(lang,"money"),100))
func money_format(fomate string,money int64) string{
return fmt.Sprintf(fomate,money)