chiark / gitweb /
Switch from asctime() to strftime()
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 25 Mar 2025 11:09:54 +0000 (11:09 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 25 Mar 2025 11:09:54 +0000 (11:09 +0000)
commitf94a7062e3208013d5cba9619fda9bebbb0fb3e8
tree3f061b81f7bfc480582902b49f4c66da8dfc60dc
parentbcd1d5304a76609feda859c6ed65076a525f9484
Switch from asctime() to strftime()

C23 marks asctime() as deprecated and it seems polite to keep up with
that.  Using strftime() isn't noticeably more complicated: the "%c"
specifier does what we want and we don't get a spurious newline that
we have to remove again.
bedstead.c