Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 21 Oct 2016 11:00:35 +0200
From: Raphael 'kena' Poss <>
Subject: musl's strptime does not support POSIX %U/%W

Hi all,

we at CockroachDB would like to integrate strptime, but some of our
users on Alpine Linux discovered that musl's strptime doesn't live up to

conv_test.go:58: strptime("2018 10 4", "%Y %W %w"): got
"2017-12-31T00:00:00Z", expected "2018-03-08T00:00:00Z"
conv_test.go:58: strptime("2018 10 4", "%Y %U %w"): got
"2017-12-31T00:00:00Z", expected "2018-03-15T00:00:00Z"

Indeed there's a FIXME in there:

We've filed this internally as

As of this day this is the only known limitation that prevents
compatibility of CockroachDB with musl. If you have any suggestions /
input we'd be glad to receive them!

Best regards

Raphael 'kena' Poss

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.