• redlemace@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 days ago

        I think it should follow regional settings, but don’t have high hopes (nor much the experience)

        • wise_pancake@lemmy.ca
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          3 days ago

          This brings back memories of trying to match locale info from my local computer, a remote server, a MySQL db, and a different Python app in a different server region.

          It was for an international email campaign so each users email needed to match their in app locale for number and currency formatting, but there were like a half a dozen different layers of apps and servers that all handled locales differently.

          Add in a hard deadline for the client and oof, that was a painful week.

          LC_ALL=C is now cursed knowledge that resides in my brain. I wasn’t able to install Babel or any other libraries because security reasons so I had to handle everything manually.