|
Well, that's better than the stupid MM-DD-YYYY, but the only way you can properly sort is YYYY-MM-DDD
|
|
|
|
|
In English yes, but in right-to-left (RTL) languages like Arabic, I think DD-MM-YYYY is the equivalent. Was the language English?
|
|
|
|
|
I am not aware that the way numbers are written (and hence sorted) are different in those languages. AFAIK, multi digit numbers are actually written at least in Arabic left to right still...
|
|
|
|
|
As someone who knows Arabic, you are correct. As someone who has never used an Arabic keyboard for sorting, I would assume that sorting follows the language, which in this case is right to left. So DD-MM-YYYY would sort in the order of 78-56-1234 since the numbers are left to right, but higher precedence from right number to left.
|
|
|
|
|
In any case, why would you sort a date as a string?
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
Is that a serious question?
Obviously lots of lists and tables have date fields, or an entry is tagged by a date, which is represented as text, not as a binary date object. And frequently, you want to order the entries by date.
|
|
|
|
|
Like M#### said, folder names, file names, and many other reasons to sort by date. For RTL languages, DD-MM-YYYY is the only way to do so, just like YYYY-MM-DD is for LTR (with or without hyphens).
|
|
|
|
|
Yes. I take your point. My issue is with a recent employer who insisted on storing dates as integers or strings or even decimals in his database. I can't remember seeing a single DateTime or Date object. See where I'm coming from?
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
My bet is simply on a lazy programmer who got something wrong in using existing data info...
|
|
|
|
|
Over here Halloween is getting more and more popular, today we biked past Walibi and were amazed how busy it was, more info here: Halloween Fright Nights | Walibi Holland[^]
All in all we were amazed at the amount of attractions in this quiet eastern part of our province of Flevoland in the Netherlands, there's even an artificial ice skating rink "Flevonice" (not opened yet for skating, but there are other attractions).
If you have kids, the pancake restaurant "Hans&Grietje" is recommended too, but watch out for the witch, the tables can behave strangely too
|
|
|
|
|
The day before Halloween we have Municipal Elections - the same effect, but last longer...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Ooooh, scary
|
|
|
|
|
Do your candidates knock on your door offering trick or trick? (You'll get no treats from that lot.)
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Do your candidates knock on your door offering trick or trick? (You'll get no treats from that lot.)
?? I thought it was polies always promise treats then deliver tricks, or if you're really really lucky on occasion deliver nothing.
Message Signature
(Click to edit ->)
|
|
|
|
|
|
Yup. it's treat, THEN trick.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
We have always done Halloween in the UK, it is an old tradition. Apple bobbing, carving skulls out of turnips, scaring the sh*t out of our siblings.
|
|
|
|
|
Does "apple bobbing" mean that you throw your Mac into the water
|
|
|
|
|
|
The dish of freshly cooked salmon in the Have-A-Heart trap was just too tempting for him! Some time in the wee hours of the morning he took the bait.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
I think the Skunk may have informed the cat about the delicious Food
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Yay! Excellent news - Herself goes into worry mode if Dij is out for an extra hour, so ...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
With salmon, I would have taken the bait
Have you considered a pet-safe? Goedzo has a collar with batteries and can go into the garden unsupervised - if he comes near the fence, the collar will emit a beeping and if he tries to cross it, it will give a small shock (like electrical fences do).
So, he can go out and play - just not outside the garden. Too many cars outside the garden to take that risk.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
u use a shock collar! r u serious?
I'm even surprised they are legal over there. Should never be allowed.
Message Signature
(Click to edit ->)
|
|
|
|
|
Lopatir wrote: u use a shock collar! r u serious? So, after finding a three-year old to translate this into English so I could understand your gibberish;
Yes, I am serious. The shock is something that doesn't hurt, it's more a scare-thing. The cat associated the collar with "going outside", not with "getting shocked" - he'll purr whenever the collar is presented and wait for the door to open. Does that sound like a scared cat that is being shocked to death? What sick basterd are you for even implying such?
Lopatir wrote: I'm even surprised they are legal over there. Yeahyeah, and electrical fences for cows should be banned too; it was soooo much better when the cows where bleading from the barbed wire
Lopatir wrote: Should never be allowed. Yeah, waay better to find your cat on the street in parts
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|