@formatjs/intl-relativetimeformat
Version:
Formats JavaScript dates to relative time strings.
265 lines (264 loc) • 4.96 kB
JavaScript
/* @generated */
// prettier-ignore
if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {
Intl.RelativeTimeFormat.__addLocaleData({
"data": {
"day": {
"-1": "昨天",
"-2": "前天",
"0": "今天",
"1": "明天",
"2": "后天",
"future": {
"other": "{0}天后"
},
"past": {
"other": "{0}天前"
}
},
"day-narrow": {
"-1": "昨天",
"-2": "前天",
"0": "今天",
"1": "明天",
"2": "后天",
"future": {
"other": "{0}天后"
},
"past": {
"other": "{0}天前"
}
},
"day-short": {
"-1": "昨天",
"-2": "前天",
"0": "今天",
"1": "明天",
"2": "后天",
"future": {
"other": "{0}天后"
},
"past": {
"other": "{0}天前"
}
},
"hour": {
"0": "这一时间 / 此时",
"future": {
"other": "{0}小时后"
},
"past": {
"other": "{0}小时前"
}
},
"hour-narrow": {
"0": "这一时间 / 此时",
"future": {
"other": "{0}小时后"
},
"past": {
"other": "{0}小时前"
}
},
"hour-short": {
"0": "这一时间 / 此时",
"future": {
"other": "{0}小时后"
},
"past": {
"other": "{0}小时前"
}
},
"minute": {
"0": "此刻",
"future": {
"other": "{0}分钟后"
},
"past": {
"other": "{0}分钟前"
}
},
"minute-narrow": {
"0": "此刻",
"future": {
"other": "{0}分钟后"
},
"past": {
"other": "{0}分钟前"
}
},
"minute-short": {
"0": "此刻",
"future": {
"other": "{0}分钟后"
},
"past": {
"other": "{0}分钟前"
}
},
"month": {
"-1": "上个月",
"0": "本月",
"1": "下个月",
"future": {
"other": "{0}个月后"
},
"past": {
"other": "{0}个月前"
}
},
"month-narrow": {
"-1": "上个月",
"0": "本月",
"1": "下个月",
"future": {
"other": "{0}个月后"
},
"past": {
"other": "{0}个月前"
}
},
"month-short": {
"-1": "上个月",
"0": "本月",
"1": "下个月",
"future": {
"other": "{0}个月后"
},
"past": {
"other": "{0}个月前"
}
},
"nu": [
"latn"
],
"quarter": {
"-1": "上季度",
"0": "本季度",
"1": "下季度",
"future": {
"other": "{0}个季度后"
},
"past": {
"other": "{0}个季度前"
}
},
"quarter-narrow": {
"-1": "上季度",
"0": "本季度",
"1": "下季度",
"future": {
"other": "{0}个季度后"
},
"past": {
"other": "{0}个季度前"
}
},
"quarter-short": {
"-1": "上季度",
"0": "本季度",
"1": "下季度",
"future": {
"other": "{0}个季度后"
},
"past": {
"other": "{0}个季度前"
}
},
"second": {
"0": "现在",
"future": {
"other": "{0}秒钟后"
},
"past": {
"other": "{0}秒钟前"
}
},
"second-narrow": {
"0": "现在",
"future": {
"other": "{0}秒后"
},
"past": {
"other": "{0}秒前"
}
},
"second-short": {
"0": "现在",
"future": {
"other": "{0}秒后"
},
"past": {
"other": "{0}秒前"
}
},
"week": {
"-1": "上周",
"0": "本周",
"1": "下周",
"future": {
"other": "{0}周后"
},
"past": {
"other": "{0}周前"
}
},
"week-narrow": {
"-1": "上周",
"0": "本周",
"1": "下周",
"future": {
"other": "{0}周后"
},
"past": {
"other": "{0}周前"
}
},
"week-short": {
"-1": "上周",
"0": "本周",
"1": "下周",
"future": {
"other": "{0}周后"
},
"past": {
"other": "{0}周前"
}
},
"year": {
"-1": "去年",
"0": "今年",
"1": "明年",
"future": {
"other": "{0}年后"
},
"past": {
"other": "{0}年前"
}
},
"year-narrow": {
"-1": "去年",
"0": "今年",
"1": "明年",
"future": {
"other": "{0}年后"
},
"past": {
"other": "{0}年前"
}
},
"year-short": {
"-1": "去年",
"0": "今年",
"1": "明年",
"future": {
"other": "{0}年后"
},
"past": {
"other": "{0}年前"
}
}
},
"locale": "zh-Hans"
})
}