jdev - 2026-03-22


  1. Link Mauve

    lovetox, re your issue fetching the timezone, on systemd-compatible distributions (so almost all of them) that’d be: % busctl get-property org.freedesktop.timedate1 /org/freedesktop/timedate1 org.freedesktop.timedate1 Timezone s "Europe/Paris"

  2. Link Mauve

    You can translate that into dbus calls using your dbus library of choice.

  3. moparisthebest

    simply read a file which works on 100% of linux/bsd installs, or implement some complicated hack that only works on a subset... hmm hard choice

  4. lovetox

    I found that GLib implements getting the timezone for mac, linux and windows

  5. singpolyma

    > simply read a file which works on 100% of linux/bsd installs, or implement some complicated hack that only works on a subset... hmm hard choice Or use a library and not do it yourself by hand at all

  6. lovetox

    now the next challenge is, of course windows invented their own timezone names which do not follow any standard :D

    🤣 1
  7. moparisthebest

    classic

  8. Cynthia

    > now the next challenge is, of course windows invented their own timezone names which do not follow any standard :D If I had a dollar for every time this happens, I'd be a billionaire

  9. Cynthia

    Or.. would be able to buy a single stick of DDR5 32GB RAM

  10. Cynthia

    Or.. would be able to buy a single stick of DDR5 64GB RAM

  11. snit

    that's a lot of sticks!

  12. no_chunk

    gonna buy them all out so there's none for the rest of the world and their competition can't compete. Such billionaire