Comment

Comment by throwaway90999

"Sad that we still don't have any kind of common libraries or whatever"

We do have those. In this case the common library is called "libc." In this case (and in a few others) the Go team decided to intentionally avoid providing an interface to this function.

The good news is it would take just a few minutes to add support for go to call strftime directly from libc.

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton