Merge pull request #1147 from chunmeng/fix_money_locale_code
ref: fix money locale example
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user