@formatjs/intl-relativetimeformat
Version:
Formats JavaScript dates to relative time strings.
680 lines (679 loc) • 12.1 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",
"adlm",
"ahom",
"arab",
"arabext",
"bali",
"beng",
"bhks",
"brah",
"cakm",
"cham",
"deva",
"diak",
"fullwide",
"gara",
"gong",
"gonm",
"gujr",
"gukh",
"guru",
"hanidec",
"hmng",
"hmnp",
"java",
"kali",
"kawi",
"khmr",
"knda",
"krai",
"lana",
"lanatham",
"laoo",
"lepc",
"limb",
"mathbold",
"mathdbl",
"mathmono",
"mathsanb",
"mathsans",
"mlym",
"modi",
"mong",
"mroo",
"mtei",
"mymr",
"mymrepka",
"mymrpao",
"mymrshan",
"mymrtlng",
"nagm",
"newa",
"nkoo",
"olck",
"onao",
"orya",
"osma",
"outlined",
"rohg",
"saur",
"segment",
"shrd",
"sind",
"sinh",
"sora",
"sund",
"sunu",
"takr",
"talu",
"tamldec",
"telu",
"thai",
"tibt",
"tirh",
"tnsa",
"tols",
"vaii",
"wara",
"wcho"
],
"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-MY"
})
} else {
(globalThis.__FORMATJS_RELATIVETIMEFORMAT_DATA__ = globalThis.__FORMATJS_RELATIVETIMEFORMAT_DATA__ || []).push({
"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",
"adlm",
"ahom",
"arab",
"arabext",
"bali",
"beng",
"bhks",
"brah",
"cakm",
"cham",
"deva",
"diak",
"fullwide",
"gara",
"gong",
"gonm",
"gujr",
"gukh",
"guru",
"hanidec",
"hmng",
"hmnp",
"java",
"kali",
"kawi",
"khmr",
"knda",
"krai",
"lana",
"lanatham",
"laoo",
"lepc",
"limb",
"mathbold",
"mathdbl",
"mathmono",
"mathsanb",
"mathsans",
"mlym",
"modi",
"mong",
"mroo",
"mtei",
"mymr",
"mymrepka",
"mymrpao",
"mymrshan",
"mymrtlng",
"nagm",
"newa",
"nkoo",
"olck",
"onao",
"orya",
"osma",
"outlined",
"rohg",
"saur",
"segment",
"shrd",
"sind",
"sinh",
"sora",
"sund",
"sunu",
"takr",
"talu",
"tamldec",
"telu",
"thai",
"tibt",
"tirh",
"tnsa",
"tols",
"vaii",
"wara",
"wcho"
],
"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-MY"
})
}