Closed tomerd closed 4 years ago
closes #152
@helje5
note strptime
is not available via Glibc
so this is a bit uglier with #if os
blocks
that sounds okay to me too. @helje5 wdyt?
Either is fine for me. There are some Mac users which tend to stick to older versions, but they are probably not Swift target audience in the first place ;-)
The really interesting question here is why spm decided to stick to 10.10 still, that feels a little weird, but the same reasoning should be applied i guess
@fabianfett what is your concern about taking this as-is? code bloat/complexity?
@fabianfett what is your concern about taking this as-is? code bloat/complexity?
@tomerd I came to the conclusion, when I thought about, how we could test this... Date conversions should be tested by a unit test imho. When thinking about it, I wasn’t sure if there is actually a machine that could fulfill the requirements to run this branch. If there is no machine that the code could be ever run on, we shouldn’t add it because it increases complexity.
@fabianfett addressed
motivation: simplify downstream libraries
changes: use custom ISO8601 decoders on macOS < 10.13