OP
|
UTC
quote
Just to put a finer point on it, when the year appears first, there is very little latitude for interpretation. Year first is an unambiguous sign that the format is YYYY-MM-DD.
|
|
![]() UTC
Ossessionato
2007 Stella 225
Joined: UTC
Posts: 3547 Location: Rochester, Minnesota |
|
|
UTC
quote
jimc wrote: That depends on what you and the recipient have agreed. But 2022-12-01 is the ISO standard for the 1st of December 2022, and needs no other party's agreement. |
![]() UTC
Veni, Vidi, Posti
2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
|
Veni, Vidi, Posti
![]() 2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
UTC
quote
Christopher_55934 wrote: Until that's happens in every country in the world it will be an issue. |
OP
|
UTC
quote
steelbytes wrote: please give even a single example of a country/language/culture that uses yyyy-dd-mm. with references, I'm really intrigued See: https://en.wikipedia.org/wiki/Date_format_by_country As always, there's a notable footnote here: they appear to use YYYY.DD.MM, rather than the ISO YYYY-MM-DD (note the periods instead of dashes).
Positive
|
![]() UTC
Ossessionato
2007 Stella 225
Joined: UTC
Posts: 3547 Location: Rochester, Minnesota |
|
|
UTC
quote
steelbytes wrote: please give even a single example of a country/language/culture that uses yyyy-dd-mm. with references, I'm really intrigued |
![]() UTC
Veni, Vidi, Posti
2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
|
Veni, Vidi, Posti
![]() 2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
UTC
quote
jess wrote: I can name one, though I am relying on internet lore and Wikipedia for reference: Kazakhstan.
Positive
|
OP
|
UTC
quote
steelbytes wrote: lol, well done |
![]() UTC
Veni, Vidi, Posti
2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
|
Veni, Vidi, Posti
![]() 2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
UTC
quote
jess wrote: Never underestimate how utterly fucked programming for time is. From every angle, in every way, and across every country. It is by far one of the gnarliest subjects I've dealt with during my career. personal favourite is Samoa skipping a whole day in 2011 https://www.abc.net.au/news/2011-12-30/samoa-skips-friday-in-time-zone-change/3753350 |
|
UTC
quote
I really don't understand why it's a problem for a website hosted by an American to show an American date format when viewed on an American computer.
I can't imagine anyone being upset at seeing a UK date format on a .co.uk forum. Also, I can't imagine anyone being upset at seeing "Dec 1, 2022" in the byline of an American news article. "Dec 1, 2022" is completely unambiguous, regardless of anyone's preferences for {day,month} order. With respect, the benefits of having the date and time displayed accurately no matter where in the world you signin from vast outweigh one guy's preferences to have a literal time formatting preference in your profile. On the big list of things worth having an argument about, or the big list of tweaks worth making on a website, customizing the date display seems like it ought to be at the very bottom. I'd say, ship this and move on to something more meaningful. |
![]() UTC
Veni, Vidi, Posti
2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
|
Veni, Vidi, Posti
![]() 2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
UTC
quote
mayorofnow wrote: I really don't understand why it's a problem for a website hosted by an American to show an American date format when viewed on an American computer. |
Moderaptor
![]() The Hornet (GT200, aka Love Bug) and 'Dimples' - a GTS 300
Joined: UTC
Posts: 44774 Location: Pleasant Hill, CA |
UTC
quote
mayorofnow wrote: I really don't understand why it's a problem for a website hosted by an American to show an American date format when viewed on At least the words are in a language I understand, rather than Chinese. Quote: On the big list of things worth having an argument about, or the big list of tweaks worth making on a website, customizing the date display seems like it ought to be at the very bottom. I'd say, ship this and move on to something more meaningful. |
Addicted
![]() Vespa GTS 250 , Baotian 70cc rat scooter, Yamaha V50M 1979
Joined: UTC
Posts: 571 Location: Wales |
OP
|
UTC
quote
mayorofnow wrote: On the big list of things worth having an argument about, or the big list of tweaks worth making on a website, customizing the date display seems like it ought to be at the very bottom. ![]() mayorofnow wrote: I'd say, ship this and move on to something more meaningful. I'm currently taking the opportunity to straighten how the forum deals with converting dates and times more completely than my first pass did, as it's a bit of a mess. Straightening bad code is fairly therapeutic for me, so it's the perfect rainy-day-while-I-am-sick activity. I may offer a single option in the Profile preferences, specifically for date style. The standard choices that javascript understands are short, medium, long, and full. Seems like a reasonable concession. |
|
UTC
quote
steelbytes wrote: Maybe as an american the majority of what you read is american so there is no difference for you - that ain't the case for me and what I read. In any case, dates with a spelled out month are unambiguous. jimc wrote: FTFY At least the words are in a language I understand, rather than Chinese. |
Moderaptor
![]() The Hornet (GT200, aka Love Bug) and 'Dimples' - a GTS 300
Joined: UTC
Posts: 44774 Location: Pleasant Hill, CA |
OP
|
UTC
quote
mayorofnow wrote: I know you're trying to be pedantic, but I'm talking about where the computer is localized for. Since your profile is in California, I'm presuming your keyboard layout is American, and that your computer therefore makes American assumptions about how to show you stuff. |
Veni, Vidi, Posti
![]() LX190 Friday afternoon special, [s]Primavera[/s], S50, too many pushbikes
Joined: UTC
Posts: 10933 Location: Hermit Kingdom |
UTC
quote
steelbytes wrote: I hear ya. personal favourite is Samoa skipping a whole day in 2011 https://www.abc.net.au/news/2011-12-30/samoa-skips-friday-in-time-zone-change/3753350 September 1752… Su Mo Tu We Th Fr Sa ............1 2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Positive
|
![]() UTC
Veni, Vidi, Posti
2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
|
Veni, Vidi, Posti
![]() 2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
UTC
quote
znomit wrote: Meh… September 1752… Su Mo Tu We Th Fr Sa ............1 2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
Moderaptor
![]() The Hornet (GT200, aka Love Bug) and 'Dimples' - a GTS 300
Joined: UTC
Posts: 44774 Location: Pleasant Hill, CA |
UTC
quote
jess wrote: Jim is actually Quote: I wouldn't put it past him to have an ISO keyboard instead of an ANSI one.
Positive
|
OP
|
UTC
quote
steelbytes wrote: personal favourite is Samoa skipping a whole day in 2011 https://www.abc.net.au/news/2011-12-30/samoa-skips-friday-in-time-zone-change/3753350 There's the time 10 days vanished from the calendar. What's worse is that not all countries applied the 10 days at the same time, so it could be one day in country A and an entirely different day in country B. |
OP
|
UTC
quote
znomit wrote: Meh… September 1752… Su Mo Tu We Th Fr Sa ............1 2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
![]() UTC
Veni, Vidi, Posti
2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
|
Veni, Vidi, Posti
![]() 2019 GTS 300 HPE SuperTech 72,000km
Joined: UTC
Posts: 7209 Location: Batmania aka Melbourne, Aus |
UTC
quote
ok, now that we've had arguments about dates, can we please argue about spelling? eg Favourites vs Favorites
![]() |
OP
|
UTC
quote
steelbytes wrote: ok, now that we've had arguments about dates, can we please argue about spelling? eg Favourites vs Favorites ![]() |
![]() UTC
Ossessionato
2007 Stella 225
Joined: UTC
Posts: 3547 Location: Rochester, Minnesota |
|
|
UTC
quote
steelbytes wrote: ok, now that we've had arguments about dates, can we please argue about spelling? eg Favourites vs Favorites ![]() |
![]() UTC
Ossessionato
2007 Stella 225
Joined: UTC
Posts: 3547 Location: Rochester, Minnesota |
|
|
UTC
quote
Oh, just so you know your going to ruin my it's 02:00 in England why are they up?
⚠️ Last edited by Christopher_55934 on UTC; edited 1 time
|
Moderaptor
![]() The Hornet (GT200, aka Love Bug) and 'Dimples' - a GTS 300
Joined: UTC
Posts: 44774 Location: Pleasant Hill, CA |
UTC
quote
No it was 24:00:00 rapidly becoming 00:00:00. (UK is only 8 hours ahead of PST, 5 hours ahead of EST).
They're still up as they're just back from the pub - last orders at 23:20, bar closes at 23:30, then it's just drinking up time until the last person is firmly encouraged to depart. ⚠️ Last edited by jimc on UTC; edited 1 time
|
Moderaptor
![]() The Hornet (GT200, aka Love Bug) and 'Dimples' - a GTS 300
Joined: UTC
Posts: 44774 Location: Pleasant Hill, CA |
UTC
quote
jimc wrote: No it was 24:00:00 rapidly becoming 00:00:00. (UK is only 8 hours ahead of PST, 5 hours ahead of EST). However we're all coming up to the earliest sunset - 2022-12-07 - various times depending on Longitude. |
OP
|
UTC
quote
After covering all the obvious dates I could think of, I did a search of the code base to see what I had left. There are still 96 instances of the old-style create_date() function in the code, and I likely need to address all of them.
Crikey. |
Moderaptor
![]() The Hornet (GT200, aka Love Bug) and 'Dimples' - a GTS 300
Joined: UTC
Posts: 44774 Location: Pleasant Hill, CA |
UTC
quote
jess wrote: After covering all the obvious dates I could think of, I did a search of the code base to see what I had left. There are still 96 instances of the old-style create_date() function in the code, and I likely need to address all of them. Crikey. A sunnier day tomorrow. |
Veni, Vidi, Posti
![]() LX190 Friday afternoon special, [s]Primavera[/s], S50, too many pushbikes
Joined: UTC
Posts: 10933 Location: Hermit Kingdom |
OP
|
UTC
quote
znomit wrote: Anyhoo How are things shaping up for 03:14:07 on 19 January 2038? Yeah. Mostly out of my hands. It's first dependent on the OS (linux, in our case) and secondarily on PHP. I might have to expand the database by a digit or two, but that's about all I should need to do. None of the PHP code that runs the website cares about the number of bits in an integer.
Positive
|
![]() UTC
Molto Verboso
ET3 & PX150 & GTS 300 Super Sport MY23 & Yamaha Neo's electric
Joined: UTC
Posts: 1911 Location: Berlin |
|
Molto Verboso
![]() ET3 & PX150 & GTS 300 Super Sport MY23 & Yamaha Neo's electric
Joined: UTC
Posts: 1911 Location: Berlin |
UTC
quote
Wasn't Kasachstan* the country where months were named after the sons and daughters of the supreme leader?
*This should get converted automagically to the transliteration of your locale. |
OP
|
UTC
quote
Der Blechfahrer wrote: Wasn't Kasachstan* the country where months were named after the sons and daughters of the supreme leader? Der Blechfahrer wrote: *This should get converted automagically to the transliteration of your locale. |
Veni, Vidi, Posti
![]() LX190 Friday afternoon special, [s]Primavera[/s], S50, too many pushbikes
Joined: UTC
Posts: 10933 Location: Hermit Kingdom |
OP
|
UTC
quote
I'm down to 36 old-style date references in the code. If it were just a simple search-and-replace, I'd be done now -- but any page that gets a new style date also needs to have a snippet of javascript added to it, so that's slowing me down.
And, of course, any time I look at random corners of the project that I haven't looked closely at in some time, I see things that need fixing. Or deleting. I'll continue tomorrow. |
|
UTC
quote
jimc wrote: However we're all coming up to the earliest sunset - 2022-12-07 - various times depending on Longitude. |
|
![]() UTC
Molto Verboso
ET3 & PX150 & GTS 300 Super Sport MY23 & Yamaha Neo's electric
Joined: UTC
Posts: 1911 Location: Berlin |
|
Molto Verboso
![]() ET3 & PX150 & GTS 300 Super Sport MY23 & Yamaha Neo's electric
Joined: UTC
Posts: 1911 Location: Berlin |
UTC
quote
Sorry, it was of course Türkmenistan, where months were named in honour of the Türkmenbaşy in 2002.
|
OP
|
UTC
quote
Der Blechfahrer wrote: Sorry, it was of course Türkmenistan, where months were named in honour of the Türkmenbaşy in 2002. I just read the wikipedia article on the subject: https://en.wikipedia.org/wiki/2002_renaming_of_Turkmen_months_and_days_of_week Sounds like they eventually came to their senses: Quote: Four years after the change, Niyazov died in 2006. On April 23, 2008 it was reported that the cabinet of ministers of Turkmenistan discussed restoring the old names of the months and days of week.[2] The old names were finally restored in July 2008. |
Modern Vespa is the premier site for modern Vespa and Piaggio scooters. Vespa GTS300, GTS250, GTV, GT200, LX150, LXS, ET4, ET2, MP3, Fuoco, Elettrica and more.