ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

The concepts of relative periods ("yesterday", "last week", "next year") are one of my favorite corner cases w.r.t. datetime handling, because it explicitly CANNOT be solved using UTC millis. It NEEDS comprehension of what days/weeks/years are and must be calculated in the display time zone.

May 7, 2025, 2:29 PM

Record data

{
  "uri": "at://did:plc:n4q4qjebed6tso6eel4afabl/app.bsky.feed.post/3lolmbxgxys2o",
  "cid": "bafyreiebrstemy6xt32tnweyoielougicbp3rspyv2sd63kjwmsr74aqoi",
  "value": {
    "text": "The concepts of relative periods (\"yesterday\", \"last week\", \"next year\") are one of my favorite corner cases w.r.t. datetime handling, because it explicitly CANNOT be solved using UTC millis.\n\nIt NEEDS comprehension of what days/weeks/years are and must be calculated in the display time zone.",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreifjdf7jku7hlznwg7hy5osqizeuqxqr6werchrppatz6cq6ebp224",
        "uri": "at://did:plc:wjeyx7zjnoed3z46233lanbe/app.bsky.feed.post/3lolm2esad225"
      },
      "parent": {
        "cid": "bafyreifjdf7jku7hlznwg7hy5osqizeuqxqr6werchrppatz6cq6ebp224",
        "uri": "at://did:plc:wjeyx7zjnoed3z46233lanbe/app.bsky.feed.post/3lolm2esad225"
      }
    },
    "createdAt": "2025-05-07T14:29:33.527Z"
  }
}