5 ms·
Ask HN: Are there Falsehoods Programmers believe about opening hours formatting?
Every place I've ever lived the format for representing opening - closing times has been
Opening hour - Closing Hour.
I suppose in countries with different direction of text it will be
Closing Hour - Opening Hour.
But is there any localization problems with the use of the - sign as the separator?
Are there any other formatting issues in countries that I am unaware of for how opening hours are displayed?
- johncoltrane 4y agoDid you mean designers?
- bryanrasmussen 4y agoWell maybe it is designers, as I suppose yes the programmer has implemented a design. But since they didn't say "hey now, we have to internationalize this here site y'know" I also think it's the programmers. assuming there is falsehood involved.
- johncoltrane 4y agoShit in shit out. Decisions regarding I18n and other numeronyms are not the programmer's to make.
- bryanrasmussen 4y agoOk I guess I disagree, shit in shit out is in relation to a computer, the programmer of the computer is still hopefully a person and a person should be able to consider the shit inputs and fix them and also they might know if there is something that the designer doesn't. Under this theory falsehoods programmers believe about addresses doesn't apply either, the business decides the address rules the programmer just applies them. But it's everyone in the process that has believed the falsehoods first propagated by the business, including the programmers. But I guess nobody had a particular example where that formatting wouldn't hold, excepting potentially vertical scripts as opposed to horizontal.
- stmblast 4y agoI feel like this is definitely more of a question for designers rather than programmers, but I think you may have some issues in Chinese or other similar languages if they use Chinese characters over Arabic numerals in terms of readability.