Skip to content

Commit

Permalink
fix: Update locale (zh-cn) (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
BH-M87 authored and iamkun committed Nov 15, 2019
1 parent 9ad2e47 commit e31e544
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/locale/zh-cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const locale = {
MM: '%d 个月',
y: '1 年',
yy: '%d 年'
}
},
meridiem: hour => (hour < 12 ? '上午' : '下午')
}

dayjs.locale(locale, null, true)
Expand Down

0 comments on commit e31e544

Please sign in to comment.