kristapsdz / sblg

static blog utility
https://kristaps.bsd.lv/sblg
ISC License
94 stars 14 forks source link

Fix strptime() format strings for musl. #8

Closed single-right-quote closed 6 years ago

single-right-quote commented 6 years ago

This is just a really silly portability fix.

musl's strptime() does not support %F for some reason. Converting %F to %Y-%m-%d is a two line change that trivially enables the feature on musl without breaking it for other platforms/libcs.

kristapsdz commented 6 years ago

Fixed, thanks!