From patchwork Thu Aug 15 17:43:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 1147730 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-104485-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="VJ0+uxlR"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 468YjC0Zn1z9sN1 for ; Fri, 16 Aug 2019 03:43:58 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=pvkTRriSa4Cb4u02aXVJDytw5q5l4 s3Zx+pnEfRROs8JAfgd0ZUmNqXUW+jjQLR+qXNzs3tbNl8BB72gy6NrSBDXXATRg Um77VlqFu6NsO+x22Zd4fzZyo6crKObVmQOrPaiipDlRPV7Qf89838lGUW7QmMN4 AWWJXxO8vxJqMc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=YqSpUqRUuWVNDq7JWPqLyJRxxJQ=; b=VJ0 +uxlRiIq+Oc2FeCjgU3Qh237cmmmBZKbeNCX9lDS0NUu9dKrGUQR378/J06gRa18 LR5drWL26VivNvRPkfiveU1zDHCMZGVgrTGS2WMfUg9tUDAesW+djBLjd/EP3HDD yL+B2YOlsYFiDVWmwzEDr+OezS7Rg3kvRDqfU7vU= Received: (qmail 14824 invoked by alias); 15 Aug 2019 17:43:53 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 14813 invoked by uid 89); 15 Aug 2019 17:43:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: esa4.mentor.iphmx.com IronPort-SDR: Z0ZkpOqgyYElk0nCOZCGB3sWN0rQVIwdR3oi40sZAFnait23zNIhbyCCQva1nyfc1Lm4qHsr4D 4MfO7CeHwzWKI9Pehs1H0UhXxmQ2S1EFSh0bTUJmG5oizCpsloODKh+/t5JvPXjpHHucrWg9yD rQeNRu81G+yIdJ03T1MW1A7SZj+doiL842ahHiMQPSupRgF+nqpOmY5qUJVmIfWqsGm4ldBczC 50jy0Mjb07W1HACfdLkZ/mgdaVYnrOGUKS68YD4dxZpDw2OSy/fKnBIvDDlrds25NFnFXi95pg KmQ= IronPort-SDR: nkukdT2HpRnYG46XX/iV+QqgZkQoJi1jbTPqo2enlUfJ/qtloFXoPmoiaoJH5LGwzyf8hoNWA3 7utpCuhY+GmL/jeEmLheBApRlSX1hmDaErqvsgXkPA4xiYWhebMcw+Uw5UzmzbxPKkRnoCc/Na lk2i+fvZfbqQNDHvqKw5fxADfp3rM946MYgsRo1bWn6EXlBZnpUO3BYFCwY2a05pxxm8g1VLJI OakgRWPfiO+BkaNRfmiUzcOYlLc2OtgADzn7kZwRruS/+I2fDcx1REJ7OJeRV7+f0Yr09mxubY MDU= Date: Thu, 15 Aug 2019 17:43:44 +0000 From: Joseph Myers To: Subject: Document strftime %Ob and %OB as C2X features Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 C2X standardizes strftime %Ob and %OB support. This patch updates the glibc manual to say these are C2X features. Note: C2X seems unclear to me about whether %h being equivalent to %b means %Oh is thereby allowed and equivalent to %Ob; I've asked WG14. Tested with "make info" and "make pdf". 2019-08-15 Joseph Myers * manual/time.texi (strftime): Document %Ob and %OB as C2X features. diff --git a/manual/time.texi b/manual/time.texi index bfa46dd45b..aeb24382ea 100644 --- a/manual/time.texi +++ b/manual/time.texi @@ -1352,7 +1352,7 @@ alternative numeric symbols. With @code{%B}, @code{%b}, and @code{%h}: use the grammatical form for month names that is appropriate when the month is named by itself, rather than the form that is appropriate when the month is used as -part of a complete date. This is a GNU extension. +part of a complete date. This is a C2X feature. @end table If the format supports the modifier but no alternative representation @@ -1372,13 +1372,13 @@ The full weekday name according to the current locale. @item %b The abbreviated month name according to the current locale, in the grammatical form used when the month is part of a complete date. -As a GNU extension, the @code{O} modifier can be used (@code{%Ob}) +As a C2X feature, the @code{O} modifier can be used (@code{%Ob}) to get the grammatical form used when the month is named by itself. @item %B The full month name according to the current locale, in the grammatical form used when the month is part of a complete date. -As a GNU extension, the @code{O} modifier can be used (@code{%OB}) +As a C2X feature, the @code{O} modifier can be used (@code{%OB}) to get the grammatical form used when the month is named by itself. Note that not all languages need two different forms of the month