Skip to content

Comment on Go Date Formatparent

Comments

"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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.