- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
In the spirit of Cato, every TDWTF should conclude with "mm-dd-yyyy must be destroyed!"
Admin
Attica is not only in Greece, it is in
Greece ( 183)
, too. WTF does the space character between the opening parens and the1
actually do?Admin
The United States of America...
(To whose who would complain "too soon!", when will it ever not be "too soon"? ):
Addendum 2022-05-27 09:01: Hmmm, the forum software stole my bullets. Oh, the irony.
Admin
I can get 50 hours of work done on a Friday by starting my day in Line Islands, Kiribati (UTC+1400) and flying around the world to Howland Island, United States Minor Outlying Islands (UTC-1200). But getting up to 56 hours is a pretty pro move by Stuart.
(Let's ignore the fact that there aren't suitable airports there and other logistical problems like refueling stops etc.)
Admin
Yes, and "dd-mm-yyyy" should ALSO be destroyed - the only correct date format is "yyyy-mm-dd" (or "yyyy/mm/dd").
Admin
Wherever possible in real life, I try to use month name to avoid confusion (27 May 2022 or 1 Jun 2021). I often deal with legal papers from the US and Brazil, so number only formats vary from government to government.
Admin
Only if you promise to bring the figs.
Admin
That works great as long as you're not in China or ancient Rome; they use(d) numbers for their months.
This is also why all forms asking for dates should define the format.
Admin
Languages don't agree on spelling of month names, or even the character set to be used. I agree that 28-May-2022 look easy on the eyes, but a German user see 28-mai-2022 confusing your parser.
Admin
YYYYMMDD
Admin
Just include the part: 29D05M2022Y
Admin
I wonder whether the UPS one (23:59) might be an actual real-life incidence of a theoretical bug I've seen many times - calling now() twice, once to get the date and once to get the time, with the possibility that the date actually changes between the 2 calls
Admin
I am in the US, and what you suggest would be better. The source date (dispatch date) is clocked in Europe (hence the 4AM), but formatted as US, while the destination/delivery date (standard transit) is to deliver to me in the US, but formatted as European. Exactly opposite!
Admin
Very much like Chinese, I believe.
Admin
Last time I went to the USA, which was 20 years ago, I had to fill in some immigrations forms because I am a foreigner. The dates on the forms were all in dd/mm/yyyy format. I think the US immigration service was sick and tired of foreigners filling the forms in wrongly and so switched to a sane date format.
Admin
I doubt it - firstly because that doesn't explain the 08:59 entry, but also because it doesn't make sense to call now() for an expected delivery date. It's much more likely that the expected delivery date was set at the time of ordering, and merely was not updated when the first part took longer than expected.