Most active commenters

    ←back to thread

    287 points mnemonet | 18 comments | | HN request time: 0.712s | source | bottom
    1. kmoser ◴[] No.45891157[source]
    > Travel booking often has a fixed schedule with limited time options, such as every 15 minutes. Relative dates like “Today” and “Tomorrow” can be easier to understand.

    Except when you're booking a flight and you're not sure whether "today" is based on your local time, the server's local time, or GMT. (I often book flights right about midnight and find words like "today" and "tomorrow" to be completely confusing.)

    replies(4): >>45891350 #>>45893047 #>>45893275 #>>45895437 #
    2. cryptoz ◴[] No.45891350[source]
    Montreal public transit times used to be on some kind of like, 28-hour clock. Bus times after midnight would be labelled 27:30 or something. Suuuper confusing. It sounds so bizarre in fact, that I'm doubting my memory a bit, but I'm certain it was like that (say around 2006 or so).
    replies(4): >>45891389 #>>45891959 #>>45894864 #>>45896920 #
    3. evertheylen ◴[] No.45891389[source]
    This is actually how GTFS (a standard format for public transit data) works: https://gtfs.org/documentation/schedule/reference/#stop_time... . Especially sleeper trains can get weird with 30+ hours. But I don't think it's wise to show that to the user
    replies(1): >>45892706 #
    4. ChadNauseam ◴[] No.45891959[source]
    I've seen this in Japan as well. A store that's open from, let's say, 8am to 1am will actually advertise itself as being open from 8am to 25pm. I guess the perception is that it's confusing to have a range where the smaller number comes before the bigger number.
    replies(3): >>45892945 #>>45893358 #>>45893531 #
    5. 1718627440 ◴[] No.45892706{3}[source]
    And it is the right thing to do as otherwise the question to which day a train belongs will be confusing. Just take it %24hours before intersecting trains.

    It is also how I personally record time spans. It makes it much easier as you do not need to deal with the case where the start is larger than the end time and you can only have a single date field.

    6. solidsnack9000 ◴[] No.45892945{3}[source]
    I think it is more common for them to write 8:00 to 25:00 - omitting AM and PM.
    replies(1): >>45893220 #
    7. jandrese ◴[] No.45893047[source]
    > Relative dates like “Today” and “Tomorrow” can be easier to understand.

    This is one of those ideas that sounds like a good idea on paper, but can be an actual nightmare to implement. There are so many edge cases that can occur that you need to think about, especially once you get into cases like "this time next month". What if daylight savings time trips? What about time zones? What if it is January 31st and you want something a month from now? What if it is 12:05 at night and someone asks for 4PM tomorrow?

    You should think long and hard before offering relative time options in program.

    8. cubefox ◴[] No.45893220{4}[source]
    AM and PM is used in a few languages (mostly English) but many don't have it in their vocabulary at all, which probably includes Japanese.
    replies(2): >>45893682 #>>45894512 #
    9. cubefox ◴[] No.45893275[source]
    > Except when you're booking a flight and you're not sure whether "today" is based on your local time, the server's local time, or GMT.

    But the same issue exists with explicit dates like "November 12".

    replies(1): >>45893373 #
    10. makeitdouble ◴[] No.45893358{3}[source]
    Japanese are used to it because TV shows etc. that have the same issue.

    If it airs at 2025-11-24 01:00, people will have an easier time to remember it's at a very late after the 23th's midnight, than a crazy early time on the 24th. Most TV or movie guide will show it as 25:00 on the 23th.

    11. kmoser ◴[] No.45893373[source]
    Not really, because the standard in air travel is that departure and arrival dates and times are always local to the departure or arrival airport, regardless of where you are when you book the flight (or what time it is locally when you book).
    replies(1): >>45901861 #
    12. SoftTalker ◴[] No.45893531{3}[source]
    Maybe at that point they should say "Closed 1am to 8am" instead.
    13. koito17 ◴[] No.45893682{5}[source]
    In the case of Japanese, there is 午前・午後 for 12-hour time. e.g. 午後9時に着く (arrive at 9 P.M.). If it's obvious from context, then only the hour is said. e.g. in「明日3時にね」, the flow of the conversation disambiguates the hour (it's also unlikely the speaker means 3 A.M.)

    There are also other ways to convey 12-hour time. e.g. 朝6時に起きる (wake up at 6 A.M. / wake up at 6 in the morning).

    14. folmar ◴[] No.45894512{5}[source]
    And even if they have, representations of noon and midnight differ.
    15. dotancohen ◴[] No.45894864[source]
    I work with a factory that uses 32 hour timestamps, as some employees work a night shift.
    16. parpfish ◴[] No.45895437[source]
    i hate that computers define 'today' and 'tomorrow' on days centered on midnight.

    several times this has lead to problems when i'm doing a late-night work binge that cross into 12am and i see relative date terms that confuse me.

    if you're out with some friends and it's 12:15 AM and you say "i really need to go, i have a big day tomorrow" it's understood that that means the big day is on this calendar date but after i wake up and NOT the following day.

    17. pasc1878 ◴[] No.45896920[source]
    UK buses and trains do this.

    I think the reason is for Day return tickets ie those where you can go out and come back on the same day. It allows the return to be after midnight which makes sense for example going to a theatre show or pub that shuts at 11pm

    18. PaulDavisThe1st ◴[] No.45901861{3}[source]
    and yet google calendar by default translates them into the current (GPS-based) timezone ....