mailing list of musl libc
 help / color / mirror / code / Atom feed
* strptime() lacks support for %z
@ 2015-08-13 18:56 Jan Včelák
  2015-08-13 20:06 ` Szabolcs Nagy
  2015-08-14  1:50 ` Rich Felker
  0 siblings, 2 replies; 10+ messages in thread
From: Jan Včelák @ 2015-08-13 18:56 UTC (permalink / raw)
  To: musl

Hello list.

(Please CC me in replies, I'm not subscribed to the list.)

The strptime() function lacks support for %z (and %Z) format specifier.

I'm mostly interested in '%z' because we are using it the Knot DNS
project and we have been notified by one of our users running Alpine
Linux that the previously written time stamps cannot be parsed.

I want to contribute to musl by implementing the missing specifier.
But honestly I don't know how to start. The strptime() function needs
some refactoring otherwise the change would be ugly (or copy-pasta).

Are you interested in this feature? Please, can you point me to your
coding style guidelines? How can I check I haven't broken anything else?
Do you have unit tests or something?

Cheers,

Jan


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-08-14 15:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-13 18:56 strptime() lacks support for %z Jan Včelák
2015-08-13 20:06 ` Szabolcs Nagy
2015-08-14  8:00   ` Jan Včelák
2015-08-14  9:34     ` Szabolcs Nagy
2015-08-14 14:05       ` Jan Včelák
2015-08-14 14:15       ` Rich Felker
2015-08-14 15:00         ` Szabolcs Nagy
2015-08-14 15:08           ` Szabolcs Nagy
2015-08-14 15:39             ` Rich Felker
2015-08-14  1:50 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).