UNPKG

@visulima/humanizer

Version:

Humanizer is a library for humanizing data in a human-readable form.

2 lines (1 loc) 316 B
import o from"./util/create-duration-language.js";const m={个月:"mo",分:"m",分钟:"m",周:"w",天:"d",小时:"h",年:"y",日:"d",时:"h",星期:"w",月:"mo",毫秒:"ms",秒:"s",秒钟:"s"},t=o("年","个月","周","天","小时","分","秒","毫秒","%s后","%s前",".",m,",","_");export{t as durationLanguage};