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

  • irdc@derp.foo
    link
    fedilink
    arrow-up
    30
    ·
    edit-2
    8 months ago
    weekend = day_of_week in (“sat”, “sun”)
    

    As a bonus this completely sidesteps the issue of what day is 0 or 1.