The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
There's no advantage of mm/dd over dd/mm, or vis-versa, except for the obvious one: it should reflect the way people speak.
In science and business - yyyymmdd is the rational solution because sorting (for example) is needed without ridiculous accommodations (such as in code).
The key here is to realize writing, deep down inside, is a way to represent speech and transfer ideas. Smoothly. For the people with whom one is in contact with pretty much all the time. The smoother and more convenient it/they is/are for this purpose the better.
Yes! I even write ISO 8601 format on personal correspondence, check (yes, checks!), etc.
But I still have to deal with files at work that come in MM-dd-yy format - yes, using dashes "-" instead of slashes, and others that are dd-MM-yy, so it's ambiguous when read in context for various countries.
Hello all specification authors! Don't invent a new format! Just Don't! I've never seen anyone get confused reading ISO 8601 format
Chris Maunder I understand your concern
But my question is why not harvest the IP address and make a decision
the date format that would be favorable for that location
YES VPN use will render this UI design less than desirable
Just a thought from a novice so please feel free to correct my thinking
or lack of experience
In my profession we used metric to compound pharmaceuticals
so I guess a lot depends on if your web site or product is
used or reviewed by multiple countries
why not harvest the IP address and make a decision
It's not about location (which is unreliable to guess and unavailable in many instances). It's about culture. If I'm travelling in the US (in some distant Utopian future) that doesn't mean once I cross the border I suddenly understand that 4/7 means 7 Apr instead of 4 Jul.
Why not simply spell the date out. 4 Jul 2021 is not much longer than 7/4/2021.
I concur. For readability this is how it is best displayed. Internally, "20210704" makes more sense but should never be needed on the display - for example, column sorting can be done using the value not the text of the field.
- I would love to change the world, but they won’t give me the source code.
It's easy to make it unambiguous by simply using a 4 digit year, a 2 digit day, and a 3 letter month. In this way it is impossible to mix up one of the date values. For example: 04apr2021 is how a company I worked for used dates, you could also use: apr04,2021 or 2021apr04 or 2021/04apr or whatever you prefer.
Would an amalgamation of Polygram Records, Warner Brothers, and Cracker Barrel Country Stores call themselves Poly-Warner-Cracker?
Would Apple, Amazon, and Twitter market the iAmatwit?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
That would not be a surprise but they passed again on the question of the copyright itself so who knows when that law will be changed? It will likely take an act of Congress at this point, as it rightly should.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
It will likely take an act of Congress at this point, as it rightly should.
Oh absolutely, that is what I am suggesting will happen, albeit not immediately.
Also, such a change in the law need not alter the principle of copyright in general; it would only need to alter the legal scope of certain types of algorithm. That's much easier to wriggle through with big money backing than a wholesale alteration of copyright.