Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: strptime: %P
To:
enh <enh@google.com>
Cc:
OpenBSD Tech <tech@openbsd.org>
Date:
Tue, 26 Aug 2025 19:41:31 -0600

Download raw body.

Thread
On Tue, 26 Aug 2025 16:32:59 -0400, enh wrote:

> %P is a strftime() extension that's "%p but in lowercase". because of
> this, there's code that expects to be able to use %p and %P
> interchangeably in strptime() format strings. Android has thus carried
> this patch for years. (despite me forgetting to send it upstream;
> sorry!)

I'm unsure about this one since we don't support %P in our strftime().
Perhaps it would help ports?

 - todd