This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-06-02
Channels
- # announcements (11)
- # babashka (3)
- # beginners (54)
- # cherry (1)
- # cider (11)
- # clojure (28)
- # clojure-europe (1)
- # clojure-norway (4)
- # clojure-sweden (3)
- # clojurescript (40)
- # community-development (3)
- # cursive (12)
- # datomic (2)
- # emacs (6)
- # hyperfiddle (12)
- # missionary (14)
- # off-topic (13)
- # overtone (10)
- # re-frame (13)
- # releases (1)
- # ring (2)
- # specter (11)
- # tools-deps (7)
Morning! I want to write a babashka script to generate text like:
* May 27th---May 31th
Is “just use java.time” a decent to start to get the dates right, or are there other options I should consider? I want to find the dates for Monday and Friday the last week.
(I’m writing https://doingweeknotes.com/ in plain text, and I’d like to remove a bit of friction for writing. I’m aware that I could probably shell out to /bin/date
to do this too, but I’d prefer to write the code myself for learning purposes.)✅ 1