Yes, someone actually did this and I found it running on our server

  • Esca@lemmy.one
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    But if you’re worried about locale, you can’t assume people use the string “Saturday” to describe Saturday either. That solution only works in English.

    • jonne@infosec.pub
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      I assume this is in a language where the first day of the week is a fixed part of the language (like JS).