i am trying to parse some ISO-8601 timestamps (2023-09-25T14:47:10Z
) on a server, which means no Foundation.
for some reason, i am unable to import the strptime(_:_:_:)
function from glibc.
#if canImport(Glibc)
import func Glibc.strptime
#else
error: function 'strptime' does not exist in module 'Glibc'
how do i get strptime
?