• Hans (unregistered)

    That 00:00 is probably the result of some simple formatting rule: if "hours" is less that 10, add a leading '0'

  • Jonathan (unregistered)

    Regarding Michael R's thought provoker, strictly speaking, a colon in a time implies a 12-hour clock, meaning that 1:00 is not a proper time as it's lacking AM/PM. For 24-hour clocks you should use "h" between the hours and minutes and values less than 10 should lead with a zero, meaning that "14:00" is also an invalid time, but 01h00 and 14h00 are valid.

    The reality though is that it's very common that people don't know (or care) about these rules meaning that we're all pretty regularly having to deal with ambiguous representations of time. Still not quite as bad as backwards people (and even a few backwards countries) which write their dates as MM/DD/YYYY.

  • (nodebb)

    I was so hoping the Garmin 280.097 feet was a nice round number of meters. It isn't. Neither a nice round number of furlongs. Nor rods, nor statute, nor nautical miles. Color me disappointed.

    As to the mystery of zero hours, I think the best part is that they express the same time as "0:00" and "00:00" in different spots. Pick one and stick to it please. Idjits.

  • (nodebb) in reply to Jonathan

    strictly speaking, a colon in a time implies a 12-hour clock, meaning that 1:00 is not a proper time as it's lacking AM/PM. For 24-hour clocks you should use "h" between the hours and minutes and values less than 10 should lead with a zero, meaning that "14:00" is also an invalid time, but 01h00 and 14h00 are valid.

    Having lived all my life in a "24 hours clock" country, I never heard of these rules, and have never seen time as "01h00" except in France. Any sane country uses a hh:mm format: 00:00 - 23:59. And sometimes the prefix 0 is skipped, so 1:00 is used as well in a 24 hours notation.

    The WTF in the story is I see it, is that both 1:00 and 01:00 are used on the same page.

  • Officer Johnny Holzkopf (unregistered) in reply to nerd4sale

    A thing with the "h notation" is that it is sometimes used to indicate duration, but with an additional "min" for minutes: "2h25min" for 2 hours and 25 minutes, but "2:25" or "02:25" can be used for the same purpose, or for 2 o'clock (during night) and 25 minutes. As mentioned, the prefix "0" for hours is optional, some digital clocks display it, others don't. Same applies whe shifting from "hours:minutes" to "minutes:seconds"; the first element can have a padding zero, all subsequent ones must have one (so no "2:5" or "14:7").

  • Foo AKA Fooo (unregistered) in reply to Jonathan

    https://www.iso.org/iso-8601-date-and-time-format.html

  • Tinkle (unregistered)

    puts pedantic hat on puts probably wrong hat on as well

    Hmm, isn't 00:00 midnight at the start of the day?

    If they meant the end of the day they should have used 24:00 or avoid confusion and use 23:59.

  • (nodebb)

    Of course ISO8601 specifies a data transmission / interchange format, NOT a UI display format.

  • (nodebb)

    Baeldung 🤦🏼‍♂️

  • Kleyguerth (github) in reply to Jonathan

    Lookup the unicode CLDR, using colon to format 24-hour time is not only correct, but THE correct way on a lot of locales, I'd even say for the majority of them. For example, here's the entry to en-GB: https://st.unicode.org/cldr-apps/v#/en_GB/Gregorian/279c95c24026a2f3

  • (nodebb) in reply to nerd4sale

    Having lived all my life in a "24 hours clock" country, I never heard of these rules, and have never seen time as "01h00" except in France. Any sane country uses a hh:mm format: 00:00 - 23:59.

    There's no reason to be rude about it, implying that France is somehow insane for writing "quatorze heures cinquante" as 14h50. The slightly loopy part about it in France is that what you'd probably insist should be written always as 14:00 is sometimes 14h00 and sometimes just 14h.

    Oh, and beware of the meaning when someone in France describes something as happening in the "am" - that person almost certainly means "après-midi" == afternoon, not "ante-meridian" == before noon.

  • SomeWTFname,RefreshedDaily (unregistered) in reply to Jonathan

    You must be American, to assume the : in 24-hours notation is wrong. Here, in the Netherlands and I'm pretty sure everywhere in Europe it's not.

  • SomeWTFname,RefreshedDaily (unregistered) in reply to Steve_The_Cynic

    I should've read all posts, before replying I guess. Goes to show, regional formatting is hard ;)

  • (nodebb) in reply to Jonathan

    "A few" backwards countries use MM/DD/YYYY? AFAIK only one.

    https://x.com/TerribleMaps/status/1620111664078290945

  • (nodebb)

    While there's a discussion about date/time formats that some consider "wrong"; I was always taught that a leading zero should only (and should always) be used for a 24-hour time. So, 01:00 is 1AM in 24-hour format, 1:00 is a 12-hour time missing the AM/PM. That reduces ambiguity; although the times between 10 and 12 (inclusive) could still be misinterpreted.

    This particularly annoys me when software the defaults to 24-hour time allows me to switch to 12-hour, but insists on displaying it with the 24-hour formatting. There is no such thing as "01:00 PM".

Leave a comment on “Mais Que Nada”

Log In or post as a guest

Replying to comment #677803:

« Return to Article