this post was submitted on 14 Jan 2024
1365 points (98.1% liked)

Programmer Humor

19512 readers
418 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
1365
Fitbit Clock Face (programming.dev)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 86 points 9 months ago (3 children)

That’s something I think I’d like to use, but I don’t know if could get over the fact that neither the date nor the time are in ISO 8601 format.

[–] [email protected] 8 points 9 months ago (1 children)

They should put it as Unix epoch instead!

[–] [email protected] 5 points 9 months ago (1 children)

I once worked in a software shop where all release packages had the Unix epoch timestamp in the filename. Yes, these sorted brilliantly making it trivial to find the last one. But good luck finding a build from a specific date/time.

[–] [email protected] 4 points 9 months ago

just wildcard for n digits

[–] [email protected] 4 points 9 months ago (2 children)

The date format isn't even human readable (at least in American). It should be Sun, Jan 14th

[–] [email protected] 10 points 9 months ago* (last edited 9 months ago)

Considering it uses day then month, 24hr clock, and distance in km, I'm guessing the reason why it's not "human readable in American" is because it's intended to be "human readable for pretty much everybody else"

The date format isn't incorrect at all

[–] [email protected] 3 points 9 months ago (1 children)

I still think YYYY-MM-DD should be more apt for an international release.

[–] [email protected] 3 points 9 months ago (1 children)

IMO, that format is best for all releases.

You want to talk about sorting releases, ISO 8601 works with sorting and it's still human readable.

My homies all start their date time stamped files with ISO 8601.

[–] [email protected] 3 points 9 months ago

I always start my files with iso8601, except on s3 it doesn't like the colon. Gotta replace the colons lol

[–] [email protected] 4 points 9 months ago

Lol I came here to say this