6 ms·
So what happens if an emperor dies unexpectedly? Does all Japanese calendar aware software break?
by testplzignore 8y ago
So what happens if an emperor dies unexpectedly? Does all Japanese calendar aware software break?
- titanix2 8y agoFrom centuries ago emperors could decrete new eras, and in the last centuries it was rationalized as one emperor reign = one era. So when the new emperor will be enthroned, he will take its emperor name that also will become the era new era name. How the previous emperor exit the throne (death or abdication) is irrelevant.
- jrockway 8y agoHe's talking about the software patching issue. If the emperor dies today, how do you update all software to understand the name of the new year? The succession itself is pretty straightforward; people will see it on the news and memorize the new name immediately. Software is more difficult, though. This is not really a new issue. Daylight savings time rules change, leap seconds are added and removed. Most software doesn't care because someone will notice and change the clock, or NTP notices that your clock is a second slow because you forgot the leap second and it moves it forward. But being a second or an hour off is a slightly different problem than not knowing what the current year is called, or how to add/subtract years. Software that wants to be resilient to any of these changes simply uses a timebase that doesn't have leap seconds, daylight savings time, or the year changing... but users want to see "Heisei 30" and not something that is 37 seconds ahead of what their wall clock says the time is. Formatting the time is still an issue no matter what timebase you use.
- titanix2 8y ago> If the emperor dies today, how do you update all software to understand the name of the new year? I understood the question but it is pointless: how can you expect software to be magically patched if no update mecanism is in place? Some will, others won’t.
- occams_chainsaw 8y agoYou understood the literal question, but not the motivation and thus not the real question.
- Tomte 8y agoThat‘s what Microsoft is users helping to find out. As the article states, for most of computing‘s history (and certainly all of consumer‘s computing history) there hasn‘t been an era change, yet.
- wodenokoto 8y agoIn the sense that they'll show dates wrong, yes, though one could imagine the following era might start a few months after the death. But essentially, software (and printed calendars!) will start showing dates with years "overflowing" the era.
- unsignedint 8y agoActually, it'll start just few days after the death. When last emperor died on 1989-01-07, that was the end of Syowa 64, then Heisei 1st (called Gan-nen 元年 instead of 1st) started on 1989-01-08. Committee starts the plan of determining new era name well in advance when this is about to happen, so this is determined a several months in advance. With this transition that taking place next year, I hear many of engineers are very annoyed for the fact they are withholding announcement of this just a month before it is changing, for the publicly stated reasoning of to "not ruin the surprise."
- glandium 8y agoIt's also worth noting this is the first era transition while computer systems are basically everywhere.
- unsignedint 8y agoActually, back in Showa-Heisei, there were plenty of the computerized system existed already. Many of these system, where they could not be patched, is "assuming" the system is still in Showa. (So the system thinks this year's Showa 93) They will see Y2K like problem in 2025 (Showa-100) if these systems are still active somewhere (as they may not handle >99) and to less extent, same thing may happen in 2088 (Heisei-100) I'm thinking their tendency of ground-up development of those internal systems in Japan would make this a lot more complicated.
- Grue3 8y agoAnything that isn't used to produce some sort of official documents should be using Western-style dates anyway. Also month, day and time stay the same regardless of the era. Only the year number gets reset to 1.
- robin_reala 8y ago”Western-style“ dates don’t really exist: most countries use DMY, US for reasons unknown has gone with MDY, and Japan and China have officially standardised on ISO-8601 (YMD): https://en.wikipedia.org/wiki/Date_format_by_country https://en.wikipedia.org/wiki/Date_format_by_country
- biot 8y agoA Western-style date refers to a date based on the Gregorian calendar, regardless of how one orders the individual components of a date.
- rmgraham 8y agoI suspect "Western-style dates" was meant to refer to the Gregorian calendar rather than the format used to represent a date on that calendar. ISO-8601 only really applies to the Gregorian calendar.
- palisade 8y agoYMD is the only sane format. When you sort, you can sort by the year, followed by month and day. I do this a lot with folder names or log file names in directories, file system creation/modified dates don't always match reality. e.g. a folder named 2018-01-07 is entirely readable to anyone who looks at it, but at the same time easily sorted.
- kondro 8y agoAnd DMY is the only sane human-readable format for LTR languages.
- 8y ago
- Iv 8y agoThe Heisei era started in 1989 with the death of Hirohito (posthumously named Showa). Since then, there was no unexpected death of emperors. Modern software has never been put to the test.
- deleted 8y ago[deleted]