@lgehr
1. Motivation: had recently experimented with using a emoji clock in shell prompt
2. aerc documentation pointed to go's time.Time.Format
3. go's documentation pointed to a file called src/time/format.go
4. `sudo find / -path '*time/format.go'`
5. copied file, bind-mounted copy over original
6. Made code change (as seen in github PR #45394), compiled aerc to test

Follow

@lgehr step 5 was notably the most difficult, as there were a number of things I tried, but they didn't work (regarding creating and importing packages). Don't take these instructions as indicative of standard practice among go developers, I have no clue what other devs do to change go stdlib. So, this is what worked for me.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml