Download raw body.
gotwebd: replace strftime(3) with asctime_r(3)
On Tue, Dec 03, 2024 at 11:04:29PM +1100, Mark Jamsek wrote: > As discussed with stsp on IRC, replace this instance of strftime in the > patch page for consistency as asctime_r is used in all the other public > dates in gotweb pages (e.g., diff, blame, tree) except for the rss feed, > which uses the standard rfc822 format. tog, got, gotd, and cvg also use > asctime_r. > > The two remaining strftime calls in gotweb's template engine are for the > aforementioned rss feed and the html datetime attribute, which uses the > standard rfc3339 format, so they should not be replaced. > > The diff also reverts the change to the gotweb patch test case as its > date now conforms with the others. Fine by me, ok.
gotwebd: replace strftime(3) with asctime_r(3)