@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-Hant"
})
}