this post was submitted on 14 Jan 2024
1320 points (98.2% liked)

Programmer Humor

19606 readers
1013 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
1320
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] 85 points 10 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 10 months ago (1 children)

They should put it as Unix epoch instead!

[–] dejected_warp_core 5 points 10 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.

[–] datelmd5sum 4 points 10 months ago

just wildcard for n digits

[–] spader312 4 points 10 months ago (2 children)

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

[–] TheGrandNagus 10 points 10 months ago* (last edited 10 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 10 months ago (1 children)

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

[–] [email protected] 3 points 10 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.

[–] spader312 3 points 10 months ago

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

[–] dep 4 points 10 months ago

Lol I came here to say this