688
submitted 1 year ago by rr7@lemmy.world to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] reverendsteveii@lemm.ee 6 points 1 year ago

Try to figure out a way to sort it automatically and get back to me on why it's stupid

[-] droans@lemmy.world 1 points 1 year ago

Easy. Don't store dates as a text string. That's just bad programming.

[-] reverendsteveii@lemm.ee 1 points 1 year ago

When you say "don't store dates as a string" what you're really saying is "wait for someone else to solve the problem and release a library, then use that library". That seems to be what the majority of the industry does (I'm a Java coder myself and joda is a lifesaver in that regard) but my point is that this problem is hard. Date and time stamps are a subtly difficult part of the average API monkey's daily work.

this post was submitted on 12 Aug 2023
688 points (80.4% liked)

Memes

45744 readers
1738 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS