Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on thebrainbin.org

5 replies

quokk.au

YYYY-MM-DD HH:MM:SS.MS

Because it’s fucking sortable. Milliseconds optional.

This is the only timestamp you should ever use and you should make choices based on them being better or more efficient not just being from a place you want to dislike at the moment.

2
modem_downreply
thebrainbin.org

For items that might need sorting by name or date - like file names, or spreadsheet or database entries - I entirely agree.

But my question was not, "What is a sensible date format?"

It was, "How can I get Mbin to show dates in a monotonic format."

Most forum software lets users choose locale, which takes care of this. Mbin doesn't, AFAICT.

5
gehirneimer.de

mbin uses html date fields almost everywhere, so your browser settings should be able to change that I think

1
modem_downreply
thebrainbin.org

Thank you.

However, my browser's language is set to English (United Kingdom), which normally gives monotonic dates.

Steps to reproduce:

  1. In Chromium, go to chrome://settings/languages.
  2. Under Preferred languages, ensure "English (United Kingdom)" is at the top (position 1) of the list.
  3. Go to this thread.
  4. Hover mouse cursor over my username for 2-3 secs, until overlay appears showing my "cake day".
  5. My "cake day" is shown as 7/23/26, which is non-monotonic.
1

Ok, so the issue is with exactly this field, because it is one that doesn't use the date field

2

You reached the end