mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-27 10:02:50 +00:00
std::time::SystemTime returns time in UTC. That's great, but a lot of times we want local time. Unfortunately, we can't use `chrono` to do that, because chrono figures out what your time zone is usind `libc`, which is a thing Xous doesn't have. the `LocalTime` server is Xous' solution to that problem. it returns the corret time offset based on the time zone. You can still use `chrono` to convert the returned time into strings and to compute durations.
110 lines
No EOL
3.9 KiB
JSON
110 lines
No EOL
3.9 KiB
JSON
{
|
||
"rtc.month": {
|
||
"en": "Enter month (1-12)",
|
||
"ja": "月(1-12)を入力してください。",
|
||
"zh": "输入月份 (1-12)",
|
||
"en-tts": "Enter month one through twelve"
|
||
},
|
||
"rtc.day": {
|
||
"en": "Enter day (1-31)",
|
||
"ja": "日数 (1-31) を入力してください。",
|
||
"zh": "输入日期 (1-31)",
|
||
"en-tts": "Enter day one through 31"
|
||
},
|
||
"rtc.year": {
|
||
"en": "Enter last two digits of year",
|
||
"ja": "西暦の下2桁を入力してください。",
|
||
"zh": "输入年份 (最后两位数)",
|
||
"en-tts": "Enter last two digits of year"
|
||
},
|
||
"rtc.bodge": {
|
||
"en": "Enter the system time in ⚠UTC⚠.\nThis is likely not the same thing as your local time.",
|
||
"ja": "システム時刻を⚠UTC⚠に入力します。\nこれは現地時間と同じではない可能性があります。",
|
||
"zh": "以⚠UTC⚠输入系统时间。\n这可能与您的本地时间不同。",
|
||
"en-tts": "Enter the system time in ⚠UTC⚠.\nThis is likely not the same thing as your local time."
|
||
},
|
||
"rtc.hour": {
|
||
"en": "Enter hours for UTC (0-23)",
|
||
"ja": "UTC時間(0-23)を入力してください。",
|
||
"zh": "输入UTC小时 (0-23)",
|
||
"en-tts": "Enter hours for UTC as 24 hour format"
|
||
},
|
||
"rtc.minute": {
|
||
"en": "Enter minutes (0-59)",
|
||
"ja": "分(0-59)を入力してください。",
|
||
"zh": "输入分钟 (0-59)",
|
||
"en-tts": "Enter minutes"
|
||
},
|
||
"rtc.seconds": {
|
||
"en": "Enter seconds (0-59)",
|
||
"ja": "秒 (0-59) を入力してください。",
|
||
"zh": "输入秒数 (0-59)",
|
||
"en-tts": "Enter seconds"
|
||
},
|
||
"rtc.day_of_week": {
|
||
"en": "Select the day of week",
|
||
"ja": "曜日を選択してください。",
|
||
"zh": "[星期几]清单框",
|
||
"en-tts": "Select the day of week"
|
||
},
|
||
"rtc.monday": {
|
||
"en": "Monday",
|
||
"ja": "月曜日",
|
||
"zh": "星期一",
|
||
"en-tts": "Monday"
|
||
},
|
||
"rtc.tuesday": {
|
||
"en": "Tuesday",
|
||
"ja": "火曜日",
|
||
"zh": "星期二",
|
||
"en-tts": "Tuesday"
|
||
},
|
||
"rtc.wednesday": {
|
||
"en": "Wednesday",
|
||
"ja": "水曜日",
|
||
"zh": "星期三",
|
||
"en-tts": "Wednesday"
|
||
},
|
||
"rtc.thursday": {
|
||
"en": "Thursday",
|
||
"ja": "木曜日",
|
||
"zh": "星期四",
|
||
"en-tts": "Thursday"
|
||
},
|
||
"rtc.friday": {
|
||
"en": "Friday",
|
||
"ja": "金曜日",
|
||
"zh": "星期五",
|
||
"en-tts": "Friday"
|
||
},
|
||
"rtc.saturday": {
|
||
"en": "Saturday",
|
||
"ja": "土曜日",
|
||
"zh": "星期六",
|
||
"en-tts": "Saturday"
|
||
},
|
||
"rtc.sunday": {
|
||
"en": "Sunday",
|
||
"ja": "日曜日",
|
||
"zh": "星期日",
|
||
"en-tts": "Sunday"
|
||
},
|
||
"rtc.timezone": {
|
||
"en": "Please enter your local offset from UTC in hours (-12.0 to +14.0 hours).\nNote: this offset does not yet track daylight savings.",
|
||
"ja": "UTCからのローカルオフセットを時間単位で入力してください(-12.0〜 + 14.0時間):",
|
||
"zh": "请以小时为单位输入您与 UTC 的本地偏移量(-12.0 到 +14.0 小时):",
|
||
"en-tts": "Please enter your local offset from UTC in hours (-12.0 to +14.0 hours):"
|
||
},
|
||
"rtc.integer_err": {
|
||
"en": "Error: entry was not numeric",
|
||
"ja": "エラー:エントリは数値ではありませんでした。",
|
||
"zh": "错误:输入不是数字",
|
||
"en-tts": "Error: entry was not numeric"
|
||
},
|
||
"rtc.range_err": {
|
||
"en": "Error: input out of range",
|
||
"ja": "エラー:入力が範囲外です。",
|
||
"zh": "错误:输入超出范围",
|
||
"en-tts": "Error: input out of range"
|
||
}
|
||
} |