|
|
|
|
|
by Normati
4157 days ago
|
|
It's unfortunate that languages are so monolithic. You want to make a language that does concurrency differently and you end up having to design date format strings! Sad that we still don't have any kind of common libraries or whatever it might take to just do this a couple of times and let language designers pick and choose the preexisting components they want. |
|
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.